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

Method testRoundTrip

src/test/java/com/amazon/ion/IntTest.java:158–163  ·  view source on GitHub ↗
(BigInteger v)

Source from the content-addressed store, hash-verified

156
157
158 public void testRoundTrip(BigInteger v)
159 {
160 IonInt i = system().newInt(v);
161 IonInt result = (IonInt) reload(i);
162 assertEquals(v, result.bigIntegerValue());
163 }
164
165 @Test
166 public void testNegNumberRoundTrip()

Callers 2

testBigIntegersMethod · 0.95

Calls 5

bigIntegerValueMethod · 0.95
newIntMethod · 0.65
systemMethod · 0.45
reloadMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected