1 module tests.fail.composite;
2 
3 import unit_threaded.testcase;
4 import unit_threaded.should;
5 import unit_threaded.should;
6 import unit_threaded.attrs;
7 
8 
9 @SingleThreaded
10 class Test1: TestCase {
11     override void test() {
12         true.shouldBeTrue;
13         (2 + 3).shouldEqual(5);
14     }
15 }
16 
17 @SingleThreaded
18 class Test2: TestCase {
19     override void test() {
20         true.shouldBeTrue;
21         (2 + 3).shouldEqual(5);
22     }
23 }
24 
25 @SingleThreaded
26 class Test3: TestCase {
27     override void test() {
28         true.shouldBeTrue;
29         (2 + 3).shouldEqual(5);
30     }
31 }
32 
33 @SingleThreaded
34 class Test4: TestCase {
35     override void test() {
36         true.shouldBeTrue;
37         shouldEqual(2 + 3, 5);
38     }
39 }
40 
41 @SingleThreaded
42 class Test5: TestCase {
43     override void test() {
44         true.shouldBeTrue;
45         shouldEqual(2 + 3, 5);
46     }
47 }
48 
49 @SingleThreaded
50 class Test6: TestCase {
51     override void test() {
52         true.shouldBeTrue;
53         shouldEqual(2 + 3, 5);
54     }
55 }
56 
57 @SingleThreaded
58 void testFunction1() {
59     true.shouldBeTrue;
60 }
61 
62 @SingleThreaded
63 void testFunction2() {
64     shouldBeTrue(false);
65 }