| 31 | // ============================================================================ |
| 32 | |
| 33 | TEST(EdgeInsetsParser, SingleValue_Px) { |
| 34 | EdgeInsets r; |
| 35 | ASSERT_TRUE(EdgeInsetsParser::parse("10px", r)); |
| 36 | expectPx(r.top, 10.0f); |
| 37 | expectPx(r.right, 10.0f); |
| 38 | expectPx(r.bottom, 10.0f); |
| 39 | expectPx(r.left, 10.0f); |
| 40 | } |
| 41 | |
| 42 | TEST(EdgeInsetsParser, SingleValue_Unitless) { |
| 43 | EdgeInsets r; |
nothing calls this directly
no test coverage detected