| 96 | |
| 97 | template<typename T> |
| 98 | void CheckTryFromStringFail(const TString& strValue) { |
| 99 | T x = T(-666); |
| 100 | UNIT_ASSERT_VALUES_EQUAL(TryFromString(TStringBuf(strValue), x), false); |
| 101 | UNIT_ASSERT_VALUES_EQUAL(int(x), -666); |
| 102 | } |
| 103 | |
| 104 | Y_UNIT_TEST(TryFromStringTest) { |
| 105 | // ESimple |
nothing calls this directly
no test coverage detected