assertEquals( ScaleUnitType.SECONDS, 0 ); assertEquals( ScaleUnitType.MINUTES, 1 ); assertEquals( ScaleUnitType.HOURS, 2 ); assertEquals( ScaleUnitType.DAYS, 3 ); assertEquals( ScaleUnitType.WEEKS, 4 ); assertEquals( ScaleUnitType.MONTHS, 5 ); assertEquals( ScaleUnitType.YEARS, 6 );
assertEquals( ScaleUnitType.SECONDS, ScaleUnitType.SECONDS_LITERAL.getValue() ); assertEquals( ScaleUnitType.MINUTES, ScaleUnitType.MINUTES_LITERAL.getValue() ); assertEquals( ScaleUnitType.HOURS, ScaleUnitType.HOURS_LITERAL.getValue() ); assertEquals( ScaleUnitType.DAYS, ScaleUnitType.DAYS_LITERAL.getValue() ); assertEquals( ScaleUnitType.WEEKS, ScaleUnitType.WEEKS_LITERAL.getValue() ); assertEquals( ScaleUnitType.MONTHS, ScaleUnitType.MONTHS_LITERAL.getValue() ); assertEquals( ScaleUnitType.YEARS, ScaleUnitType.YEARS_LITERAL.getValue() );
	public void testConstant() 	{				assertEquals( ScaleUnitType.SECONDS, 0 );		assertEquals( ScaleUnitType.MINUTES, 1 );		assertEquals( ScaleUnitType.HOURS, 2 );			assertEquals( ScaleUnitType.DAYS, 3 );		assertEquals( ScaleUnitType.WEEKS, 4 );		assertEquals( ScaleUnitType.MONTHS, 5 );		assertEquals( ScaleUnitType.YEARS, 6 );	}