MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / testBinaryInt

Method testBinaryInt

src/test/java/com/amazon/ion/IntTest.java:290–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

288 }
289
290 @Test
291 public void testBinaryInt()
292 {
293 assertEquals(system().newInt(4), oneValue("0b0100"));
294 badValue("-0b");
295 badValue("0b");
296 }
297
298 @Test
299 public void testNegativeBinaryInt()

Callers

nothing calls this directly

Calls 5

newIntMethod · 0.65
assertEqualsMethod · 0.45
systemMethod · 0.45
oneValueMethod · 0.45
badValueMethod · 0.45

Tested by

no test coverage detected