| 89 | } |
| 90 | |
| 91 | TEST(RapidJSONHelper_TypeChecks, ReturnsTrueOnSameType) |
| 92 | { |
| 93 | for (const auto type : types) |
| 94 | { |
| 95 | ASSERT_TRUE(rjh::IsType(type, type)); |
| 96 | ASSERT_NO_THROW(rjh::EnsureType(type, type, testObj)); |
| 97 | } |
| 98 | |
| 99 | for (const auto type : boolTypes) |
| 100 | { |
| 101 | ASSERT_TRUE(rjh::IsType(type, type)); |
| 102 | ASSERT_NO_THROW(rjh::EnsureType(type, type, testObj)); |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | TEST(RapidJSONHelper_TypeChecks, ReturnsTrueOnMismatchingBoolTypes) |
| 107 | { |
nothing calls this directly
no test coverage detected