Commit 2a599ab7 authored by Jonathan Shahen's avatar Jonathan Shahen

Testsuite B and Testsuite C

parent 93da7dd0
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* Generated On : 2015/02/07 20:24:43.357
* Generated With : Mohawk Reverse Converter: ASAPTime NSA
* Number of Roles : 15
* Number of Timeslots : 5
* Number of Rules : 127
*
* Roles : |Size=15| [role1, role2, role3, role4, role5, role6, role7, role8, role9, role10, role11, role12, role13, role14, role15]
* Timeslots : |Size=5| [t1, t2, t3, t4, t5]
*
*
* TESTCASE COMMENTS:
*
*/
Query: t1, [role3]
Expected: UNKNOWN
/*
* Number of Rules : 65
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 41
* Truly Startable Rules : 5
*/
CanAssign {
/* 1 */ <role1, t2, role9 & role11, t1, role15>
/* 2 */ <role5, t3, role11, t1, role3>
/* 3 */ <role1, t3, role9 & role11, t5, role15>
/* 4 */ <role1, t4, role9 & role11, t3, role15>
/* 5 */ <role3, t5, TRUE, t2, role14>
/* 6 */ <role5, t3, TRUE, t2, role4>
/* 7 */ <role5, t4, TRUE, t3, role4>
/* 8 */ <role5, t4, TRUE, t1, role6>
/* 9 */ <role5, t5, TRUE, t3, role6>
/* 10 */ <role5, t1, TRUE, t2, role6>
/* 11 */ <role6, t3, role11, t1, role3>
/* 12 */ <TRUE, t2, TRUE, t4, role6>
/* 13 */ <role5, t3, TRUE, t5, role6>
/* 14 */ <role5, t2, TRUE, t4, role8>
/* 15 */ <role5, t3, role11, t1, role3>
/* 16 */ <role5, t5, TRUE, t1, role8>
/* 17 */ <TRUE, t3, TRUE, t3, role8>
/* 18 */ <role5, t1, TRUE, t5, role8>
/* 19 */ <role5, t4, TRUE, t2, role8>
/* 20 */ <role9, t5, TRUE, t4, role2>
/* 21 */ <role3, t5, TRUE, t3, role14>
/* 22 */ <role3, t4, TRUE, t1, role14>
/* 23 */ <role3, t3, TRUE, t2, role14>
/* 24 */ <TRUE, t1, TRUE, t5, role14>
/* 25 */ <role3, t2, TRUE, t4, role14>
/* 26 */ <role5, t2, TRUE, t2, role4>
/* 27 */ <TRUE, t3, TRUE, t3, role4>
/* 28 */ <role5, t5, TRUE, t4, role4>
/* 29 */ <role5, t4, TRUE, t5, role4>
/* 30 */ <role1, t3, role11, t1, role3>
/* 31 */ <role5, t1, TRUE, t1, role4>
/* 32 */ <role5, t1, TRUE, t1, role6>
/* 33 */ <role5, t2, TRUE, t5, role6>
/* 34 */ <role5, t5, TRUE, t2, role6>
/* 35 */ <role5, t1, TRUE, t5, role8>
/* 36 */ <role9, t1, TRUE, t3, role2>
/* 37 */ <role2, t3, role11, t1, role3>
/* 38 */ <role9, t5, TRUE, t4, role2>
/* 39 */ <role9, t3, TRUE, t5, role2>
/* 40 */ <role9, t4, TRUE, t1, role2>
/* 41 */ <role3, t4, role3, t3, role13>
/* 42 */ <role3, t5, role3, t1, role13>
/* 43 */ <TRUE, t1, role3, t4, role13>
/* 44 */ <role3, t2, role3, t5, role13>
/* 45 */ <role6, t4, role3, t3, role7>
/* 46 */ <role6, t5, role8, t3, role7>
/* 47 */ <role5, t1, NOT ~ role3, t2, role12>
/* 48 */ <role5, t2, NOT ~ role3, t3, role12>
/* 49 */ <TRUE, t5, NOT ~ role3, t5, role12>
/* 50 */ <role5, t4, NOT ~ role3, t1, role12>
/* 51 */ <role5, t4, NOT ~ role12, t4, role3>
/* 52 */ <role5, t5, NOT ~ role12, t2, role3>
/* 53 */ <role5, t1, NOT ~ role12, t3, role3>
/* 54 */ <role5, t2, NOT ~ role12, t5, role3>
/* 55 */ <role1, t3, role12, t1, role3>
/* 56 */ <role9, t3, role3 & NOT ~ role9, t2, role11>
/* 57 */ <TRUE, t1, role3 & NOT ~ role9, t3, role11>
/* 58 */ <role9, t4, role3 & NOT ~ role9, t1, role11>
/* 59 */ <role9, t2, role3 & NOT ~ role9, t4, role11>
/* 60 */ <role9, t5, role3 & NOT ~ role9, t5, role11>
/* 61 */ <role12, t3, NOT ~ role11, t2, role9>
/* 62 */ <role14, t3, role9, t2, role10>
/* 63 */ <role14, t2, role9, t1, role10>
/* 64 */ <role14, t1, role9, t4, role10>
/* 65 */ <role14, t4, role9, t3, role10>
}
/*
* Number of Rules : 37
* Largest Precondition : 0
* Largest Role Schedule : 1
* Startable Rules : 37
* Truly Startable Rules : 4
*/
CanRevoke {
/* 1 */ <role3, t3, TRUE, t5, role14>
/* 2 */ <role3, t4, TRUE, t1, role14>
/* 3 */ <role3, t5, TRUE, t3, role14>
/* 4 */ <role3, t1, TRUE, t2, role14>
/* 5 */ <TRUE, t2, TRUE, t4, role14>
/* 6 */ <role3, t2, TRUE, t5, role13>
/* 7 */ <role6, t1, TRUE, t5, role7>
/* 8 */ <role6, t2, TRUE, t1, role7>
/* 9 */ <role6, t3, TRUE, t3, role7>
/* 10 */ <role6, t4, TRUE, t2, role7>
/* 11 */ <role6, t2, TRUE, t1, role7>
/* 12 */ <role6, t3, TRUE, t3, role7>
/* 13 */ <role5, t3, TRUE, t1, role4>
/* 14 */ <role5, t2, TRUE, t3, role6>
/* 15 */ <role5, t1, TRUE, t1, role6>
/* 16 */ <role5, t3, TRUE, t2, role6>
/* 17 */ <role5, t4, TRUE, t2, role12>
/* 18 */ <TRUE, t3, TRUE, t3, role12>
/* 19 */ <role5, t5, TRUE, t2, role8>
/* 20 */ <role5, t1, TRUE, t5, role8>
/* 21 */ <role5, t3, TRUE, t1, role8>
/* 22 */ <role5, t3, TRUE, t5, role3>
/* 23 */ <role9, t4, TRUE, t2, role2>
/* 24 */ <role9, t2, TRUE, t1, role2>
/* 25 */ <TRUE, t5, TRUE, t3, role2>
/* 26 */ <role9, t4, TRUE, t3, role11>
/* 27 */ <role9, t5, TRUE, t1, role11>
/* 28 */ <role9, t1, TRUE, t4, role11>
/* 29 */ <role9, t3, TRUE, t2, role11>
/* 30 */ <role9, t2, TRUE, t5, role11>
/* 31 */ <role3, t4, TRUE, t5, role9>
/* 32 */ <role3, t3, TRUE, t2, role9>
/* 33 */ <role14, t3, TRUE, t5, role10>
/* 34 */ <role14, t1, TRUE, t1, role10>
/* 35 */ <role14, t4, TRUE, t2, role10>
/* 36 */ <role14, t2, TRUE, t3, role10>
/* 37 */ <TRUE, t5, TRUE, t4, role10>
}
/*
* Number of Rules : 16
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 11
* Truly Startable Rules : 1
*/
CanEnable {
/* 1 */ <role3, t4, TRUE, t1, role14>
/* 2 */ <role3, t1, TRUE, t2, role14>
/* 3 */ <role6, t2, TRUE, t1, role7>
/* 4 */ <role6, t3, TRUE, t3, role7>
/* 5 */ <TRUE, t3, TRUE, t3, role12>
/* 6 */ <role9, t5, TRUE, t1, role11>
/* 7 */ <role3, t3, TRUE, t2, role9>
/* 8 */ <role5, t4, TRUE, t2, role8>
/* 9 */ <role3, t4, TRUE, t1, role14>
/* 10 */ <role5, t2, TRUE, t5, role6>
/* 11 */ <role3, t4, role3, t3, role13>
/* 12 */ <role5, t2, NOT ~ role12, t5, role3>
/* 13 */ <role9, t3, role3 & NOT ~ role9, t2, role11>
/* 14 */ <TRUE, t1, role3 & NOT ~ role9, t3, role11>
/* 15 */ <role9, t5, role3 & NOT ~ role9, t5, role11>
/* 16 */ <role14, t4, role9, t3, role10>
}
/*
* Number of Rules : 9
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 5
* Truly Startable Rules : 0
*/
CanDisable {
/* 1 */ <role6, t2, TRUE, t1, role7>
/* 2 */ <role9, t1, TRUE, t4, role11>
/* 3 */ <role9, t3, TRUE, t2, role11>
/* 4 */ <role5, t2, TRUE, t2, role4>
/* 5 */ <TRUE, t1, role3, t4, role13>
/* 6 */ <role3, t2, role3, t5, role13>
/* 7 */ <role6, t4, role3, t3, role7>
/* 8 */ <role5, t2, NOT ~ role3, t3, role12>
/* 9 */ <role9, t4, role3 & NOT ~ role9, t1, role11>
}
\ No newline at end of file
/* Generated On : 2015/02/07 20:24:43.387
* Generated With : Mohawk Reverse Converter: ASAPTime NSA
* Number of Roles : 15
* Number of Timeslots : 5
* Number of Rules : 150
*
* Roles : |Size=15| [role1, role2, role3, role4, role5, role6, role7, role8, role9, role10, role11, role12, role13, role14, role15]
* Timeslots : |Size=5| [t1, t2, t3, t4, t5]
*
*
* TESTCASE COMMENTS:
*
*/
Query: t1, [role3]
Expected: UNKNOWN
/*
* Number of Rules : 61
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 40
* Truly Startable Rules : 8
*/
CanAssign {
/* 1 */ <role1, t4, role12 & role3, t1, role15>
/* 2 */ <role1, t2, role12 & role3, t4, role15>
/* 3 */ <role1, t3, role12 & role3, t3, role15>
/* 4 */ <role6, t3, role11, t1, role3>
/* 5 */ <role3, t2, TRUE, t3, role14>
/* 6 */ <role5, t5, TRUE, t4, role4>
/* 7 */ <role5, t4, TRUE, t1, role4>
/* 8 */ <TRUE, t1, TRUE, t5, role4>
/* 9 */ <role5, t2, TRUE, t2, role4>
/* 10 */ <role5, t5, TRUE, t1, role6>
/* 11 */ <role5, t3, TRUE, t3, role8>
/* 12 */ <TRUE, t1, TRUE, t1, role8>
/* 13 */ <role5, t2, TRUE, t4, role8>
/* 14 */ <role5, t4, TRUE, t2, role8>
/* 15 */ <role5, t5, TRUE, t5, role8>
/* 16 */ <TRUE, t3, TRUE, t1, role2>
/* 17 */ <role9, t5, TRUE, t5, role2>
/* 18 */ <TRUE, t1, TRUE, t2, role2>
/* 19 */ <role9, t4, TRUE, t3, role2>
/* 20 */ <role9, t2, TRUE, t4, role2>
/* 21 */ <role3, t5, TRUE, t3, role14>
/* 22 */ <role5, t4, TRUE, t5, role4>
/* 23 */ <role5, t5, TRUE, t1, role4>
/* 24 */ <role5, t3, TRUE, t2, role4>
/* 25 */ <TRUE, t2, TRUE, t3, role6>
/* 26 */ <role5, t1, TRUE, t4, role6>
/* 27 */ <role4, t3, role11, t1, role3>
/* 28 */ <role5, t3, TRUE, t2, role6>
/* 29 */ <role5, t4, TRUE, t5, role6>
/* 30 */ <role5, t2, TRUE, t5, role8>
/* 31 */ <role9, t1, TRUE, t2, role2>
/* 32 */ <role9, t3, TRUE, t5, role2>
/* 33 */ <TRUE, t5, role3, t4, role13>
/* 34 */ <TRUE, t4, role3, t5, role13>
/* 35 */ <role3, t2, role3, t1, role13>
/* 36 */ <role6, t2, role3, t2, role7>
/* 37 */ <TRUE, t1, role3, t5, role7>
/* 38 */ <role6, t2, role8, t3, role7>
/* 39 */ <role5, t1, NOT ~ role3, t1, role12>
/* 40 */ <TRUE, t5, NOT ~ role3, t5, role12>
/* 41 */ <role5, t2, NOT ~ role3, t3, role12>
/* 42 */ <role5, t1, NOT ~ role12, t3, role3>
/* 43 */ <role5, t5, NOT ~ role12, t2, role3>
/* 44 */ <TRUE, t2, NOT ~ role12, t4, role3>
/* 45 */ <role5, t3, NOT ~ role12, t5, role3>
/* 46 */ <TRUE, t4, NOT ~ role12, t1, role3>
/* 47 */ <role3, t3, role11, t1, role3>
/* 48 */ <role9, t3, role3 & NOT ~ role9, t5, role11>
/* 49 */ <role9, t4, role3 & NOT ~ role9, t1, role11>
/* 50 */ <role9, t5, role3 & NOT ~ role9, t2, role11>
/* 51 */ <role9, t1, role3 & NOT ~ role9, t3, role11>
/* 52 */ <role12, t5, NOT ~ role11, t5, role9>
/* 53 */ <role12, t1, NOT ~ role11, t1, role9>
/* 54 */ <role12, t2, NOT ~ role11, t4, role9>
/* 55 */ <role12, t4, NOT ~ role11, t3, role9>
/* 56 */ <role12, t3, NOT ~ role11, t2, role9>
/* 57 */ <role14, t4, role9, t3, role10>
/* 58 */ <role14, t2, role9, t1, role10>
/* 59 */ <role14, t3, role9, t5, role10>
/* 60 */ <TRUE, t5, role9, t2, role10>
/* 61 */ <role5, t3, role11, t1, role3>
}
/*
* Number of Rules : 36
* Largest Precondition : 0
* Largest Role Schedule : 1
* Startable Rules : 36
* Truly Startable Rules : 5
*/
CanRevoke {
/* 1 */ <role3, t5, TRUE, t2, role14>
/* 2 */ <role3, t4, TRUE, t1, role13>
/* 3 */ <role3, t2, TRUE, t2, role13>
/* 4 */ <role3, t3, TRUE, t3, role13>
/* 5 */ <role3, t5, TRUE, t4, role13>
/* 6 */ <role6, t2, TRUE, t4, role7>
/* 7 */ <role6, t3, TRUE, t1, role7>
/* 8 */ <role6, t4, TRUE, t2, role7>
/* 9 */ <role6, t1, TRUE, t5, role7>
/* 10 */ <role6, t5, TRUE, t3, role7>
/* 11 */ <role6, t3, TRUE, t3, role7>
/* 12 */ <role6, t1, TRUE, t2, role7>
/* 13 */ <role6, t4, TRUE, t1, role7>
/* 14 */ <role6, t5, TRUE, t4, role7>
/* 15 */ <role5, t1, TRUE, t2, role4>
/* 16 */ <role5, t2, TRUE, t4, role4>
/* 17 */ <role5, t3, TRUE, t5, role6>
/* 18 */ <role5, t4, TRUE, t4, role6>
/* 19 */ <role5, t5, TRUE, t2, role6>
/* 20 */ <role5, t1, TRUE, t1, role6>
/* 21 */ <role5, t3, TRUE, t5, role12>
/* 22 */ <role5, t2, TRUE, t2, role12>
/* 23 */ <role5, t4, TRUE, t2, role8>
/* 24 */ <TRUE, t1, TRUE, t1, role8>
/* 25 */ <role5, t3, TRUE, t3, role8>
/* 26 */ <role5, t4, TRUE, t5, role3>
/* 27 */ <TRUE, t5, TRUE, t2, role3>
/* 28 */ <role9, t3, TRUE, t1, role2>
/* 29 */ <TRUE, t4, TRUE, t4, role11>
/* 30 */ <TRUE, t5, TRUE, t3, role11>
/* 31 */ <role3, t1, TRUE, t1, role9>
/* 32 */ <TRUE, t3, TRUE, t5, role9>
/* 33 */ <role3, t5, TRUE, t2, role9>
/* 34 */ <role3, t2, TRUE, t4, role9>
/* 35 */ <role3, t4, TRUE, t3, role9>
/* 36 */ <role14, t4, TRUE, t3, role10>
}
/*
* Number of Rules : 27
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 21
* Truly Startable Rules : 5
*/
CanEnable {
/* 1 */ <role3, t2, TRUE, t2, role13>
/* 2 */ <role3, t3, TRUE, t3, role13>
/* 3 */ <role3, t5, TRUE, t4, role13>
/* 4 */ <role5, t1, TRUE, t2, role4>
/* 5 */ <role1, t4, role12 & role3, t1, role15>
/* 6 */ <role5, t4, TRUE, t2, role8>
/* 7 */ <TRUE, t1, TRUE, t2, role2>
/* 8 */ <role9, t4, TRUE, t3, role2>
/* 9 */ <role5, t3, TRUE, t2, role4>
/* 10 */ <role5, t3, TRUE, t2, role6>
/* 11 */ <role9, t3, TRUE, t5, role2>
/* 12 */ <role6, t2, role8, t3, role7>
/* 13 */ <role5, t1, TRUE, t2, role11>
/* 14 */ <role4, t4, NOT ~ role12, t1, role6>
/* 15 */ <role4, t4, NOT ~ role12, t1, role3>
/* 16 */ <TRUE, t4, NOT ~ role12, t1, role3>
/* 17 */ <role4, t4, NOT ~ role12, t1, role8>
/* 18 */ <role12, t3, NOT ~ role11, t2, role9>
/* 19 */ <role14, t3, role9, t5, role10>
/* 20 */ <TRUE, t4, NOT ~ role11, t5, role3>
/* 21 */ <role14, t3, role9, t5, role11>
/* 22 */ <role14, t3, role9, t5, role12>
/* 23 */ <role4, t4, NOT ~ role12, t1, role7>
/* 24 */ <TRUE, t4, NOT ~ role10, t5, role3>
/* 25 */ <role12, t3, NOT ~ role11, t2, role9>
/* 26 */ <role14, t3, role9, t3, role10>
/* 27 */ <TRUE, t4, NOT ~ role11, t2, role3>
}
/*
* Number of Rules : 26
* Largest Precondition : 2
* Largest Role Schedule : 1
* Startable Rules : 19
* Truly Startable Rules : 0
*/
CanDisable {
/* 1 */ <role3, t4, TRUE, t1, role13>
/* 2 */ <role5, t2, TRUE, t5, role6>
/* 3 */ <role6, t5, TRUE, t3, role7>
/* 4 */ <role6, t4, TRUE, t1, role7>
/* 5 */ <role5, t2, TRUE, t5, role6>
/* 6 */ <role9, t3, TRUE, t1, role2>
/* 7 */ <role1, t3, role12 & role3, t3, role15>
/* 8 */ <role5, t4, TRUE, t5, role4>
/* 9 */ <role5, t1, TRUE, t4, role6>
/* 10 */ <role5, t4, TRUE, t5, role6>
/* 11 */ <TRUE, t4, role3, t5, role13>
/* 12 */ <role5, t1, NOT ~ role3, t1, role12>
/* 13 */ <role5, t1, NOT ~ role12, t3, role3>
/* 14 */ <role5, t1, NOT ~ role12, t3, role3>
/* 15 */ <role9, t1, role3 & NOT ~ role9, t3, role11>
/* 16 */ <role12, t2, NOT ~ role11, t4, role9>
/* 17 */ <role5, t5, TRUE, t5, role6>
/* 18 */ <role9, t1, role3 & NOT ~ role9, t3, role11>
/* 19 */ <role5, t5, TRUE, t5, role6>
/* 20 */ <role5, t5, TRUE, t5, role5>
/* 21 */ <role5, t5, TRUE, t1, role2>
/* 22 */ <role5, t5, TRUE, t2, role2>
/* 23 */ <role9, t1, role3 & NOT ~ role9, t3, role11>
/* 24 */ <TRUE, t5, role9, t2, role10>
/* 25 */ <role5, t5, TRUE, t2, role6>
/* 26 */ <role9, t1, role3 & NOT ~ role9, t3, role9>
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment