(string[] args)
| 2133 | |
| 2134 | |
| 2135 | static void Main(string[] args) |
| 2136 | { |
| 2137 | try |
| 2138 | { |
| 2139 | Microsoft.Z3.Global.ToggleWarningMessages(true); |
| 2140 | Log.Open("test.log"); |
| 2141 | |
| 2142 | Console.Write("Z3 Major Version: "); |
| 2143 | Console.WriteLine(Microsoft.Z3.Version.Major.ToString()); |
| 2144 | Console.Write("Z3 Full Version: "); |
| 2145 | Console.WriteLine(Microsoft.Z3.Version.ToString()); |
| 2146 | Console.Write("Z3 Full Version String: "); |
| 2147 | Console.WriteLine(Microsoft.Z3.Version.FullVersion); |
| 2148 | |
| 2149 | |
| 2150 | SimpleExample(); |
| 2151 | |
| 2152 | // These examples need model generation turned on. |
| 2153 | using (Context ctx = new Context(new Dictionary<string, string>() { { "model", "true" } })) |
| 2154 | { |
| 2155 | BasicTests(ctx); |
| 2156 | CastingTest(ctx); |
| 2157 | SudokuExample(ctx); |
| 2158 | QuantifierExample1(ctx); |
| 2159 | QuantifierExample2(ctx); |
| 2160 | LogicExample(ctx); |
| 2161 | ParOrExample(ctx); |
| 2162 | FindModelExample1(ctx); |
| 2163 | FindModelExample2(ctx); |
| 2164 | PushPopExample1(ctx); |
| 2165 | ArrayExample1(ctx); |
| 2166 | ArrayExample3(ctx); |
| 2167 | BitvectorExample1(ctx); |
| 2168 | BitvectorExample2(ctx); |
| 2169 | ParserExample1(ctx); |
| 2170 | ParserExample2(ctx); |
| 2171 | ParserExample5(ctx); |
| 2172 | ITEExample(ctx); |
| 2173 | EvalExample1(ctx); |
| 2174 | EvalExample2(ctx); |
| 2175 | FindSmallModelExample(ctx); |
| 2176 | SimplifierExample(ctx); |
| 2177 | FiniteDomainExample(ctx); |
| 2178 | FloatingPointExample1(ctx); |
| 2179 | FloatingPointExample2(ctx); |
| 2180 | } |
| 2181 | |
| 2182 | // These examples need proof generation turned on. |
| 2183 | using (Context ctx = new Context(new Dictionary<string, string>() { { "proof", "true" } })) |
| 2184 | { |
| 2185 | ProveExample1(ctx); |
| 2186 | ProveExample2(ctx); |
| 2187 | ArrayExample2(ctx); |
| 2188 | TupleExample(ctx); |
| 2189 | ParserExample3(ctx); |
| 2190 | EnumExample(ctx); |
| 2191 | ListExample(ctx); |
| 2192 | TreeExample(ctx); |
nothing calls this directly
no test coverage detected