# HG changeset patch # User Paul Boddie # Date 1102555093 -3600 # Node ID 2e78d10e4a353b47ac516c6e135aef71d535095f # Parent cfb9fe666890c05891a1ca65f5981b94b7faf5b5 Added a simple comparison test. diff -r cfb9fe666890 -r 2e78d10e4a35 tests/ComparisonTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/ComparisonTest.java Thu Dec 09 02:18:13 2004 +0100 @@ -0,0 +1,26 @@ +public class ComparisonTest { + + public boolean equals(int x, int y) { + if (x == y) { + return true; + } else { + return false; + } + } + + public boolean lessThan(int x, int y) { + if (x < y) { + return true; + } else { + return false; + } + } + + public boolean greaterThan(int x, int y) { + if (x > y) { + return true; + } else { + return false; + } + } +}