| 42 | } |
| 43 | |
| 44 | TEST_CASE(copy_eq) |
| 45 | { |
| 46 | auto a1 = as_argument(3); |
| 47 | auto a2 = as_argument(3); |
| 48 | auto a3 = as_argument(1); |
| 49 | auto a4 = a1; // NOLINT |
| 50 | |
| 51 | EXPECT(a1 == a2); |
| 52 | EXPECT(a2 != a3); |
| 53 | EXPECT(a1 == a4); |
| 54 | EXPECT(a4 != a3); |
| 55 | |
| 56 | EXPECT(a1.get_sub_objects().empty()); |
| 57 | EXPECT(a2.get_sub_objects().empty()); |
| 58 | EXPECT(a3.get_sub_objects().empty()); |
| 59 | EXPECT(a4.get_sub_objects().empty()); |
| 60 | } |
| 61 | |
| 62 | TEST_CASE(default_construct) |
| 63 | { |
nothing calls this directly
no test coverage detected