| 11 | |
| 12 | |
| 13 | TEST(BaseQuantity, TestValid) |
| 14 | { |
| 15 | const Quantity q1 {1.0, Unit::Length}; |
| 16 | Quantity q2 {1.0, Unit::Area}; |
| 17 | q2.setInvalid(); |
| 18 | |
| 19 | EXPECT_EQ(q1.isValid(), true); |
| 20 | EXPECT_EQ(q2.isValid(), false); |
| 21 | } |
| 22 | |
| 23 | TEST(BaseQuantity, TestParse) |
| 24 | { |
nothing calls this directly
no test coverage detected