Exemplo n.º 1
0
        public void DivU4U4(uint a, uint b)
        {
            if (b == 0)
            {
                return;
            }

            Assert.Equal(UInt32Tests.DivU4U4(a, b), Run <uint>("Mosa.Test.Collection.UInt32Tests.DivU4U4", a, b));
        }
Exemplo n.º 2
0
 //[Theory]
 //[ExpectedException(typeof(DivideByZeroException))]
 public void DivU4U4DivideByZeroException(uint a)
 {
     Assert.Equal(UInt32Tests.DivU4U4(a, (uint)0), Run <uint>("Mosa.Test.Collection.UInt32Tests.DivU4U4", a, (uint)0));
 }
Exemplo n.º 3
0
 public void DivU4U4([U4] uint a, [U4NotZero] uint b)
 {
     Assert.AreEqual(UInt32Tests.DivU4U4(a, b), Run <uint>("Mosa.Test.Collection", "UInt32Tests", "DivU4U4", a, b));
 }