MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testUInt16Overflow

Method testUInt16Overflow

tests/test_validation.cpp:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 void testUInt16Overflow() {
236 bool ok;
237 fmt::parseValue(NodeKind::UInt16, "65536", &ok);
238 QVERIFY2(!ok, "65536 overflows uint16");
239
240 fmt::parseValue(NodeKind::UInt16, "65535", &ok);
241 QVERIFY(ok);
242 }
243
244 void testInt32Overflow() {
245 bool ok;

Callers

nothing calls this directly

Calls 1

parseValueFunction · 0.85

Tested by

no test coverage detected