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

Method test_1

src/examples/java/time/Time.java:79–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78
79 static void test_1() {
80 Query query = new Query("traverse", new Term[] { tree });
81 System.out.print("traverse");
82 for (int i = 0; i < num_trials; ++i) {
83 timer.start();
84 query.hasSolution();
85 timer.stop();
86 data[1][i] = timer.getElapsedTimeInMillis();
87 System.out.print("");
88 }
89 System.out.println(" done");
90 }
91
92 static void test_2() {
93 Query query = new Query("noop", new Term[] { tree });

Callers 1

run_testsMethod · 0.95

Calls 4

hasSolutionMethod · 0.95
startMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected