MCPcopy Create free account
hub / github.com/catboost/catboost / Y_UNIT_TEST

Function Y_UNIT_TEST

library/cpp/json/ut/json_reader_nan_ut.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12Y_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;

Callers

nothing calls this directly

Calls 1

ReadJsonTreeFunction · 0.50

Tested by

no test coverage detected