Lines Matching defs:line
46 public static void positiveTest(int line, int col) {
47 if (Position.encodePosition(line, col) == Position.NOPOS) {
48 throw new Error("test failed at line = " + line + ", column = " + col);
50 System.out.println("test passed at line = " + line + ", column = " + col);
54 public static void negativeTest(int line, int col) {
55 if (Position.encodePosition(line, col) != Position.NOPOS) {
56 throw new Error("test failed at line = " + line + ", column = " + col);
58 System.out.println("test passed at line = " + line + ", column = " + col);