Code example for BigInteger

Methods: multiply

0
	 * Test method for {@link org.jaudiotagger.audio.asf.data.Chunk#Chunk(GUID, BigInteger)}. 
	 */ 
	public void testChunk() { 
		assertTrue("IllegalArgumentException expected", failOn(null, 0, null) instanceof IllegalArgumentException);
		assertTrue("IllegalArgumentException expected", failOn(GUID.GUID_UNSPECIFIED, 0, null) instanceof IllegalArgumentException);
		assertTrue("IllegalArgumentException expected", failOn(GUID.GUID_UNSPECIFIED, 0, BigInteger.TEN.multiply(BigInteger.valueOf(-1))) instanceof IllegalArgumentException);
		assertNull("Should have worked fine", failOn(GUID.GUID_UNSPECIFIED, 0, BigInteger.TEN));
		assertNull("Should have worked fine", failOn(GUID.GUID_UNSPECIFIED, 0, BigInteger.ZERO));
	} 
 
}