rollup.addCall(simpleCG.main); rollup.addCall(simpleCG.test); rollup.addCall(simpleCG.init);
rollup.addCallee(simpleCG.main); rollup.addCallee(simpleCG.test); rollup.addCallee(simpleCG.init);
	public void testSimpleRollUp()	{		CallRollupList rollup = new CallRollupList();		boolean exception = false;		try {			rollup.size();		}		catch (NullPointerException x) {			exception = true;		}		assert(exception);		// Simulate adding some of the unique calls to the CallRollupList		rollup.addCall(simpleCG.main);		rollup.addCall(simpleCG.test);		rollup.addCall(simpleCG.init);		rollup.sort();		assertEquals(rollup.size(), 3);		assertEquals(rollup.getCallName(0), "main");		assertEquals(rollup.getCallName(1), "test");		assertEquals(rollup.getCallName(2), "init");		assert(TestUtil.equal(rollup.getTime(0), 300));		assert(TestUtil.equal(rollup.getTime(1), 180));		assert(TestUtil.equal(rollup.getTime(2), 120));	}