Skip to content

Commit e849109

Browse files
committed
Updated output, added verify_output.py
1 parent 45133a4 commit e849109

File tree

74 files changed

+507
-838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+507
-838
lines changed

annotations/AtUnitComposition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public class AtUnitComposition {
2121
}
2222
/* Output:
2323
annotations.AtUnitComposition
24+
. _methodOne
2425
. _methodTwo This is methodTwo
2526
26-
. _methodOne
2727
OK (2 tests)
2828
*/

annotations/AtUnitExample2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ public int methodTwo() {
3939
surprise!
4040
(failed)
4141
. assertExample
42-
. assertAndReturn This is methodTwo
43-
4442
. exceptionExample java.io.FileNotFoundException:
4543
nofile.txt (The system cannot find the file specified)
4644
(failed)
45+
. assertAndReturn This is methodTwo
46+
4747
(4 tests)
4848
4949
>>> 2 FAILURES <<<

annotations/AtUnitExample3.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public int methodTwo() {
3030
}
3131
/* Output:
3232
annotations.AtUnitExample3
33-
. initialization
34-
. methodOneTest
3533
. m2 This is methodTwo
3634
35+
. methodOneTest
36+
. initialization
3737
OK (3 tests)
3838
*/

annotations/AtUnitExample5.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public class AtUnitExample5 {
4646
/* Output:
4747
annotations.AtUnitExample5
4848
. test1
49-
Running cleanup
50-
. test2
5149
Running cleanup
5250
. test3
51+
Running cleanup
52+
. test2
5353
Running cleanup
5454
OK (3 tests)
5555
*/

annotations/AtUnitExternalTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class AtUnitExternalTest extends AtUnitExample1 {
1717
}
1818
/* Output:
1919
annotations.AtUnitExternalTest
20-
. _methodOne
2120
. _methodTwo This is methodTwo
2221
22+
. _methodOne
2323
OK (2 tests)
2424
*/

annotations/HashSetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class HashSetTest {
2727
/* Output:
2828
annotations.HashSetTest
2929
. _remove
30-
. initialization
3130
. _contains
31+
. initialization
3232
OK (3 tests)
3333
*/

annotations/StackLStringTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class StackLStringTest extends StackL<String> {
3131
}
3232
/* Output:
3333
annotations.StackLStringTest
34-
. _push
35-
. _top
3634
. _pop
35+
. _top
36+
. _push
3737
OK (3 tests)
3838
*/

arrays/BadMicroBenchmark.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public static void main(String[] args) {
1616
}
1717
}
1818
/* Output:
19-
setAll: 62
20-
parallelSetAll: 75
19+
setAll: 75
20+
parallelSetAll: 110
2121
*/

arrays/BadMicroBenchmark2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public static void main(String[] args) {
1717
}
1818
}
1919
/* Output:
20-
parallelSetAll: 83
21-
setAll: 159
20+
parallelSetAll: 68
21+
setAll: 196
2222
*/

arrays/BadMicroBenchmark3.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public static void main(String[] args) {
2727
}
2828
}
2929
/* Output:
30-
parallelSetAll: 4948
31-
setAll: 1204
32-
parallelSetAll: 405
33-
setAll: 557
30+
parallelSetAll: 4540
31+
setAll: 1540
32+
parallelSetAll: 398
33+
setAll: 739
3434
*/

0 commit comments

Comments
 (0)