Ad
  • Default User Avatar
  • Default User Avatar

    there are problems with test#4 and test#5
    2110 cannot be converted into 1021
    and 987654321 into 123495678

    @Test
    public void test_04() {
        assertEquals(2110, DescendingOrder.sortDesc(1021));
    }
    
    @Test
    public void test_05() {
        assertEquals(987654321, DescendingOrder.sortDesc(123495678));
    }