| 11 | |
| 12 | Y_UNIT_TEST_SUITE(TJsonReaderNanTest) { |
| 13 | Y_UNIT_TEST(WithoutNanTest) { |
| 14 | TJsonReaderConfig cfg; |
| 15 | TJsonValue out; |
| 16 | // This read will fail |
| 17 | UNIT_ASSERT(!ReadJsonTree(JSON_NAN_TEST, &cfg, &out, /* throwOnError */ false)); |
| 18 | } |
| 19 | Y_UNIT_TEST(WithNanTest) { |
| 20 | TJsonReaderConfig cfg; |
| 21 | cfg.AllowReadNanInf = true; |
nothing calls this directly
no test coverage detected