Bug 172604 Total.Rank result incorrect.
The Total.rank() aggregation function should follow Excel convention, that is, the identical values should only hold one place in rank. The following table give details: Value | Rank 20 | 3 10 | 4 30 | 2 30 | 2 40 | 1
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/aggregation/TotalTest.java
assertEquals(new Double(3.5), ac.getValue());
        
        ac.start();
        for(int i=0; i<str1.length; i++)
        {
            ac.onRow(new Object[]{str1[i]});
        }
        ac.finish();
        assertEquals(new Double(3.5), ac.getValue());
        
        ac.start();
        ac.finish();
        assertEquals(null, ac.getValue());
        
        ac.start();
        try
        {
            ac.getValue();
            assertTrue(false);
        }
        catch(RuntimeException e)
        {
            assertTrue(true);
        }
        
        
        
        ac.start();
	    for ( int i = 0; i < dates.length; i++ )
		{