void function ( ) { assertEquals ( "srini_string" , sgn ( equal1 . compareTo ( less ) ) , sgn ( equal2 . compareTo ( less ) ) ) ; assertEquals ( "srini_string" , sgn ( equal1 . compareTo ( greater ) ) , sgn ( equal2 . compareTo ( greater ) ) ) ; }
tests whether sgn x.compareto z == sgn y.compareto z for all z when x.compareto y == 0 . concode_field_sep T equal1 concode_elem_sep T equal2 concode_elem_sep T less concode_elem_sep T greater concode_field_sep T createGreaterInstance concode_elem_sep void testReturnValues concode_elem_sep T createEqualInstance concode_elem_sep void setUp concode_elem_sep int sgn concode_elem_sep void testForReverseSigns concode_elem_sep T createLessInstance concode_elem_sep void checkForEquality