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.onRow(new Object[]{doubleArray3[i], new Double(-1)});
             }
             ac.finish();
             fail("should not arrive here");
        }catch ( DataException e )
        {}
        
         
        ac.start();
        for(int i=0; i<doubleArray3.length; i++)
        {
        	try
			{
        		ac.onRow(new Object[]{doubleArray3[i], new Double(-0.9)});
        		fail();
			}
			catch ( DataException e )
			{
			}
			
			try
			{
        		ac.onRow(new Object[]{doubleArray3[i], new Double(4.1)});
        		fail();
			}
			catch ( DataException e )
			{
			}
        }