|
// retoor <retoor@molodetz.nl>
|
|
|
|
System.print("apple" < "banana") // expect: true
|
|
System.print("banana" > "apple") // expect: true
|
|
System.print("abc" <= "abc") // expect: true
|
|
System.print("abc" >= "abc") // expect: true
|
|
|
|
System.print("abc" < "abd") // expect: true
|
|
System.print("abd" > "abc") // expect: true
|
|
System.print("abd" < "abc") // expect: false
|
|
System.print("abc" > "abd") // expect: false
|
|
|
|
System.print("abc" < "abcd") // expect: true
|
|
System.print("abcd" > "abc") // expect: true
|
|
System.print("abcd" < "abc") // expect: false
|
|
System.print("abc" > "abcd") // expect: false
|
|
|
|
System.print("a" <= "b") // expect: true
|
|
System.print("b" >= "a") // expect: true
|
|
System.print("b" <= "a") // expect: false
|
|
System.print("a" >= "b") // expect: false
|
|
|
|
System.print("b" < "a") // expect: false
|
|
System.print("a" > "b") // expect: false
|
|
|
|
System.print("" < "a") // expect: true
|
|
System.print("a" > "") // expect: true
|
|
System.print("" <= "") // expect: true
|
|
System.print("" >= "") // expect: true
|
|
System.print("" < "") // expect: false
|
|
System.print("" > "") // expect: false
|
|
|
|
System.print("a" < "a") // expect: false
|
|
System.print("a" > "a") // expect: false
|
|
System.print("a" <= "a") // expect: true
|
|
System.print("a" >= "a") // expect: true
|
|
|
|
System.print("A" < "a") // expect: true
|
|
System.print("a" > "A") // expect: true
|
|
System.print("Z" < "a") // expect: true
|
|
System.print("a" > "Z") // expect: true
|
|
|
|
System.print("abc" < "abc") // expect: false
|
|
System.print("abc" > "abc") // expect: false
|
|
System.print("abc" <= "abc") // expect: true
|
|
System.print("abc" >= "abc") // expect: true
|
|
|
|
System.print("xyz" < "xya") // expect: false
|
|
System.print("xyz" > "xya") // expect: true
|
|
System.print("xyz" <= "xya") // expect: false
|
|
System.print("xyz" >= "xya") // expect: true
|