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
ac.start();
        for(int i=0; i<doubleArray3.length; i++)
        {
            ac.onRow(new Object[]{doubleArray3[i], new Double(1)});
        }
        ac.finish();
        value = ac.getValue( );
        assertEquals(value, new Double( 300 ));
        
        ac.start();
        for(int i=0; i<doubleArray3.length; i++)
        {
            ac.onRow(new Object[]{doubleArray3[i], new Double(0.7)});
        }
        ac.finish();
        value = ac.getValue( );
        assertEquals(value, new Double( 70 ));
        
        ac.start();
        for(int i=0; i<doubleArray3.length; i++)
        {
            ac.onRow(new Object[]{doubleArray3[i], new Double(0.35)});
        }
        ac.finish();
        value = ac.getValue( );
        assertEquals(value, new Double( 17.5 ));
        
        try{
        	 ac.start();
             for(int i=0; i<doubleArray3.length; i++)