TextConverter.java
/**
     * tests action1337 method with various cases to ensure it is working
     * correctly.
     */
tests action1337 method with various cases to ensure it is working
correctly.
tests action1337 method with various cases to ensure it is working correctly .
public static void testAction1337() {
        boolean error = false;
        String input1 = "LEeTs";
        String expected1 = "1337$";
        String result1 = action1337( input1);
        if ( !result1.equals( expected1)) {
            error = true;
            System.out.println("1) testAction1337 with input " + input1 + ", expected: " +
                    expected1 + " but result: " + result1);
        }
        String input2 = "lLeEtTsSoO";
        String expected2 = "113377$$00";
        String result2 = action1337(input2);
        if ( !result2.equals( expected2)) {
            error = true;
            System.out.println("2) testAction1337 with input " + input2 + ", expected: " +
                    expected2 + " but result: " + result2);
        }
        String input3 = "00ooOO";
        String expected3 = "000000";
        String result3 = action1337(input3);
        if ( !result3.equals( expected3)) {
            error = true;
            System.out.println("3) testAction1337 with input " + input3 + ", expected: " +
                    expected3 + " but result: " + result3);
        }
        if ( error) {
            System.out.println( "testAction1337 failed");
        } else {
            System.out.println("testAction1337 passed");
        }
    }
public static void testAction1337 ( ) { boolean error = false ; String input1 = "LEeTs" ; String expected1 = "1337$" ; String result1 = action1337 ( input1 ) ; if ( ! result1 . equals ( expected1 ) ) { error = true ; System . out . println ( "1) testAction1337 with input " + input1 + ", expected: " + expected1 + " but result: " + result1 ) ; } String input2 = "lLeEtTsSoO" ; String expected2 = "113377$$00" ; String result2 = action1337 ( input2 ) ; if ( ! result2 . equals ( expected2 ) ) { error = true ; System . out . println ( "2) testAction1337 with input " + input2 + ", expected: " + expected2 + " but result: " + result2 ) ; } String input3 = "00ooOO" ; String expected3 = "000000" ; String result3 = action1337 ( input3 ) ; if ( ! result3 . equals ( expected3 ) ) { error = true ; System . out . println ( "3) testAction1337 with input " + input3 + ", expected: " + expected3 + " but result: " + result3 ) ; } if ( error ) { System . out . println ( "testAction1337 failed" ) ; } else { System . out . println ( "testAction1337 passed" ) ; } }
tests action1337 method with various cases to ensure it is working
 correctly.
tests action1337 method with various cases to ensure it is working correctly .