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

Function Y_UNIT_TEST

util/stream/input_ut.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95Y_UNIT_TEST_SUITE(TInputTest) {
96 Y_UNIT_TEST(BigTransfer) {
97 ui64 size = 1024ull * 1024ull * 1024ull * 5;
98 TNoInput input(size);
99 TNoOutput output;
100
101 ui64 transferred = TransferData(&input, &output);
102
103 UNIT_ASSERT_VALUES_EQUAL(transferred, size);
104 }
105
106 Y_UNIT_TEST(TestReadTo) {
107 /* This one tests default implementation of ReadTo. */

Callers

nothing calls this directly

Calls 4

TransferDataFunction · 0.85
ForInputMethod · 0.80
ReadToMethod · 0.45
ReadLineMethod · 0.45

Tested by

no test coverage detected