MCPcopy Create free account
hub / github.com/Z3Prover/z3 / simpleExample

Method simpleExample

examples/java/JavaGenericExample.java:166–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 // / "Hello world" example: create a Z3 logical context, and delete it.
165
166 public void simpleExample()
167 {
168 System.out.println("SimpleExample");
169 Log.append("SimpleExample");
170
171 {
172 Context ctx = new Context();
173 /* do something with the context */
174
175 /* be kind to dispose manually and not wait for the GC. */
176 ctx.close();
177 }
178 }
179
180 @SuppressWarnings("unchecked")
181 Model check(Context ctx, Expr<BoolSort> f, Status sat) throws TestFailedException

Callers 1

mainMethod · 0.95

Calls 2

appendMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected