public void RemU8U8(ulong a, ulong b) { if (b == 0) { return; } Assert.Equal(UInt64Tests.RemU8U8(a, b), Run <ulong>("Mosa.Test.Collection.UInt64Tests.RemU8U8", a, b)); }
public void RemU8U8([U8] ulong a, [U8NotZero] ulong b) { //[Row(UInt64.MaxValue - 1, UInt64.MaxValue)] // BUG: Crashes test runner if ((a == UInt64.MaxValue - 1) && (b == UInt64.MaxValue)) { Assert.Inconclusive("TODO: Overflow exception not implemented"); } Assert.AreEqual(UInt64Tests.RemU8U8(a, b), Run <ulong>("Mosa.Test.Collection", "UInt64Tests", "RemU8U8", a, b)); }
//[Theory] //[ExpectedException(typeof(DivideByZeroException))] public void RemU8U8DivideByZeroException(ulong a) { Assert.Equal(UInt64Tests.RemU8U8(a, (ulong)0), Run <ulong>("Mosa.Test.Collection.UInt64Tests.RemU8U8", a, (ulong)0)); }