| 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; |
nothing calls this directly
no test coverage detected