| 89 | |
| 90 | template<typename T> |
| 91 | void CheckTryFromString(const TString& strValue, const T& value) { |
| 92 | T x; |
| 93 | UNIT_ASSERT_VALUES_EQUAL(TryFromString(TStringBuf(strValue), x), true); |
| 94 | UNIT_ASSERT_VALUES_EQUAL(x, value); |
| 95 | } |
| 96 | |
| 97 | template<typename T> |
| 98 | void CheckTryFromStringFail(const TString& strValue) { |
no test coverage detected