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

Method AcceptError

library/cpp/getopt/ut/last_getopt_ut.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void AcceptError() {
97 Initialize();
98 try {
99 Parser_->Next();
100 UNIT_FAIL("expecting exception");
101 } catch (const TUsageException&) {
102 // expecting
103 }
104 }
105
106 void AcceptUnexpectedOption() {
107 Initialize();

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 2

InitializeFunction · 0.50
NextMethod · 0.45

Tested by

no test coverage detected