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

Function ValueIsCorrect

library/cpp/linear_regression/linear_regression_ut.cpp:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10namespace {
11 void ValueIsCorrect(const double value, const double expectedValue, double possibleRelativeError) {
12 UNIT_ASSERT_DOUBLES_EQUAL(value, expectedValue, possibleRelativeError * expectedValue);
13 }
14}
15
16Y_UNIT_TEST_SUITE(TLinearRegressionTest) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected