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

Function Y_UNIT_TEST

library/cpp/json/writer/json_value_ut.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9Y_UNIT_TEST_SUITE(TJsonValueTest) {
10 Y_UNIT_TEST(Equal) {
11 UNIT_ASSERT(1 == TJsonValue(1));
12 UNIT_ASSERT(TJsonValue(1) == 1);
13 UNIT_ASSERT(2 != TJsonValue(1));
14 UNIT_ASSERT(TJsonValue(1) != 2);
15 }
16
17 Y_UNIT_TEST(UndefTest) {
18 TJsonValue undef;

Callers

nothing calls this directly

Calls 15

AppendValueMethod · 0.80
TJsonValueClass · 0.70
GetArrayPointerFunction · 0.70
GetMapPointerFunction · 0.70
ToStringFunction · 0.50
moveFunction · 0.50
IsDefinedMethod · 0.45
SwapMethod · 0.45
GetValueByPathMethod · 0.45
GetStringRobustMethod · 0.45
SetValueByPathMethod · 0.45
IsArrayMethod · 0.45

Tested by

no test coverage detected