2014-08-13 10:39:27 +01:00
|
|
|
//
|
|
|
|
// MonoTests.Mono.Math.BigIntegerSetTest.cs
|
|
|
|
//
|
|
|
|
// Authors:
|
|
|
|
// Ben Maurer
|
|
|
|
//
|
|
|
|
// Copyright (c) 2003 Ben Maurer. All rights reserved
|
|
|
|
//
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using Mono.Math;
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
namespace MonoTests.Mono.Math {
|
|
|
|
|
|
|
|
[TestFixture]
|
|
|
|
public abstract class BigIntegerTestSet {
|
|
|
|
|
|
|
|
protected string Name {
|
|
|
|
get { return this.GetType ().Name; }
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void Expect (BigInteger actual, BigInteger expected)
|
|
|
|
{
|
2016-11-10 13:04:39 +00:00
|
|
|
Assert.AreEqual (expected, actual, Name);
|
2014-08-13 10:39:27 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|