mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 02:25:32 +00:00
Added .NET 3.5 solution/project files
This commit is contained in:
parent
6d34899c46
commit
a334020f2c
8 changed files with 495 additions and 1 deletions
|
@ -818,6 +818,7 @@ namespace test_mapi
|
|||
BigIntCheck(ctx, ctx.MkReal("234234333/2"));
|
||||
|
||||
|
||||
#if !FRAMEWORK_LT_4
|
||||
string bn = "1234567890987654321";
|
||||
|
||||
if (ctx.MkInt(bn).BigInteger.ToString() != bn)
|
||||
|
@ -828,6 +829,7 @@ namespace test_mapi
|
|||
|
||||
if (ctx.MkBV(bn, 32).BigInteger.ToString() == bn)
|
||||
throw new TestFailedException();
|
||||
#endif
|
||||
|
||||
// Error handling test.
|
||||
try
|
||||
|
@ -1094,8 +1096,10 @@ namespace test_mapi
|
|||
|
||||
static void BigIntCheck(Context ctx, RatNum r)
|
||||
{
|
||||
#if !FRAMEWORK_LT_4
|
||||
Console.WriteLine("Num: " + r.BigIntNumerator);
|
||||
Console.WriteLine("Den: " + r.BigIntDenominator);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue