MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / test_1

Method test_1

src/examples/java/test/Test.java:50–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 static Term pair_a_b = new Compound("-", new Term[] { a, b });
49
50 static void test_1() {
51 System.out.print("test 1...");
52 String t1 = "p(a)";
53 if (!Query.hasSolution(t1)) {
54 System.out.println(t1 + " failed");
55 // System.exit(1);
56 }
57 System.out.println("passed");
58 }
59
60 static void test_2() {
61 System.out.print("test 2...");

Callers 1

run_testsMethod · 0.95

Calls 1

hasSolutionMethod · 0.95

Tested by

no test coverage detected