Beispiel #1
0
        public void DivU8U8(ulong a, ulong b)
        {
            if (b == 0)
            {
                return;
            }

            Assert.Equal(UInt64Tests.DivU8U8(a, b), Run <ulong>("Mosa.Test.Collection.UInt64Tests.DivU8U8", a, b));
        }
Beispiel #2
0
 //[Theory]
 //[ExpectedException(typeof(DivideByZeroException))]
 public void DivU8U8DivideByZeroException(ulong a)
 {
     Assert.Equal(UInt64Tests.DivU8U8(a, (ulong)0), Run <ulong>("Mosa.Test.Collection.UInt64Tests.DivU8U8", a, (ulong)0));
 }
Beispiel #3
0
 public void DivU8U8([U8] ulong a, [U8NotZero] ulong b)
 {
     Assert.AreEqual(UInt64Tests.DivU8U8(a, b), Run <ulong>("Mosa.Test.Collection", "UInt64Tests", "DivU8U8", a, b));
 }