File tree Expand file tree Collapse file tree 5 files changed +81
-3
lines changed Expand file tree Collapse file tree 5 files changed +81
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,22 @@ export component TestCase inherits Window {
55
55
rb.width == 40phx && rg.width == 20phx && rg.height == (400phx - 200phx - 100phx - 20phx ) / 2 && rg.colspan == 1 &&
56
56
zero.height == 0 && zero.width == rb.width && zero.x == rb.x && zero.y == rg.y &&
57
57
zero2. height == rg.height && zero2. width == 0 && zero2. x > rb.x && zero2. y == rg.y && zero2. rowspan == 1 && zero2. colspan == 0
58
-
59
58
}
60
59
61
60
}
61
+
62
+ /*
63
+
64
+ ```cpp
65
+ auto handle = TestCase::create();
66
+ const TestCase &instance = *handle;
67
+ assert(instance.get_test());
68
+ ```
69
+
70
+
71
+ ```rust
72
+ let instance = TestCase::new().unwrap();
73
+ assert!(instance.get_test());
74
+ ```
75
+
76
+ */
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export component Bug6315 {
50
50
}
51
51
52
52
53
- export component W inherits Window {
53
+ export component TestCase inherits Window {
54
54
55
55
Rectangle {
56
56
VerticalLayout {
@@ -69,4 +69,20 @@ export component W inherits Window {
69
69
out property <bool > test : c1. min-height == 300px && c1. min-width == 200px
70
70
&& c2. min-height == 300px && c2. min-width == 200px
71
71
&& bug-6315. ok;
72
- }
72
+ }
73
+
74
+ /*
75
+
76
+ ```cpp
77
+ auto handle = TestCase::create();
78
+ const TestCase &instance = *handle;
79
+ assert(instance.get_test());
80
+ ```
81
+
82
+
83
+ ```rust
84
+ let instance = TestCase::new().unwrap();
85
+ assert!(instance.get_test());
86
+ ```
87
+
88
+ */
Original file line number Diff line number Diff line change @@ -38,3 +38,18 @@ export TestCase := Window {
38
38
property <length > layout4_width : layout4. preferred-width;
39
39
property <bool > test : layout1 _height == 55px && layout2 _width == 88px && layout3 _width == 30px && layout4 _width == 30px ;
40
40
}
41
+
42
+ /*
43
+
44
+ ```cpp
45
+ auto handle = TestCase::create();
46
+ const TestCase &instance = *handle;
47
+ assert(instance.get_test());
48
+ ```
49
+
50
+
51
+ ```rust
52
+ let instance = TestCase::new().unwrap();
53
+ assert!(instance.get_test());
54
+ ```
55
+ */
Original file line number Diff line number Diff line change @@ -38,3 +38,19 @@ TestCase := Rectangle {
38
38
sc4 := SubComp4 {}
39
39
property <bool > test : sc1. min-width == 200px && sc2. min-width == 200px && sc3. max-width == 200px && sc4. min-width == 200px ;
40
40
}
41
+
42
+ /*
43
+
44
+ ```cpp
45
+ auto handle = TestCase::create();
46
+ const TestCase &instance = *handle;
47
+ assert(instance.get_test());
48
+ ```
49
+
50
+
51
+ ```rust
52
+ let instance = TestCase::new().unwrap();
53
+ assert!(instance.get_test());
54
+ ```
55
+ */
56
+
Original file line number Diff line number Diff line change @@ -21,3 +21,19 @@ TestCase := Rectangle {
21
21
22
22
property <bool > test : square.width == square.height;
23
23
}
24
+
25
+ /*
26
+
27
+ ```cpp
28
+ auto handle = TestCase::create();
29
+ const TestCase &instance = *handle;
30
+ assert(instance.get_test());
31
+ ```
32
+
33
+
34
+ ```rust
35
+ let instance = TestCase::new().unwrap();
36
+ assert!(instance.get_test());
37
+ ```
38
+
39
+ */
You can’t perform that action at this time.
0 commit comments