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

Method test_3

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

Source from the content-addressed store, hash-verified

103 }
104
105 static void test_3() {
106 Variable Y = new Variable("Y");
107 Query query = new Query("noop_nobind", new Term[] { tree, Y });
108 System.out.print("noop_nobind");
109 for (int i = 0; i < num_trials; ++i) {
110 timer.start();
111 query.hasSolution();
112 timer.stop();
113 data[3][i] = timer.getElapsedTimeInMillis();
114 System.out.print("");
115 }
116 System.out.println(" done");
117 }
118
119 static void test_4() {
120 Variable Y = new Variable("Y");

Callers 1

run_testsMethod · 0.95

Calls 4

hasSolutionMethod · 0.95
startMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected