mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Added full version strings and associated API functions.
This commit is contained in:
parent
5f5ef8b38d
commit
3587baaf24
12 changed files with 65 additions and 1 deletions
|
@ -2159,6 +2159,8 @@ namespace test_mapi
|
|||
Console.WriteLine(Microsoft.Z3.Version.Major.ToString());
|
||||
Console.Write("Z3 Full Version: ");
|
||||
Console.WriteLine(Microsoft.Z3.Version.ToString());
|
||||
Console.Write("Z3 Full Version String: ");
|
||||
Console.WriteLine(Microsoft.Z3.Version.FullVersion);
|
||||
|
||||
|
||||
SimpleExample();
|
||||
|
|
|
@ -2291,6 +2291,8 @@ class JavaExample
|
|||
System.out.println(Version.getMajor());
|
||||
System.out.print("Z3 Full Version: ");
|
||||
System.out.println(Version.getString());
|
||||
System.out.print("Z3 Full Version String: ");
|
||||
System.out.println(Version.getFullVersion());
|
||||
|
||||
p.simpleExample();
|
||||
|
||||
|
|
|
@ -323,6 +323,7 @@ let _ =
|
|||
else
|
||||
(
|
||||
Printf.printf "Running Z3 version %s\n" Version.to_string ;
|
||||
Printf.printf "Z3 full version string: %s\n" Version.full_version ;
|
||||
let cfg = [("model", "true"); ("proof", "false")] in
|
||||
let ctx = (mk_context cfg) in
|
||||
let is = (Symbol.mk_int ctx 42) in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue