Ejemplo n.º 1
0
        public void DivU1U1(byte a, byte b)
        {
            if (b == 0)
            {
                return;
            }

            Assert.Equal(UInt8Tests.DivU1U1(a, b), Run <int>("Mosa.UnitTest.Collection.UInt8Tests.DivU1U1", a, b));
        }
Ejemplo n.º 2
0
 //[Theory]
 //[ExpectedException(typeof(DivideByZeroException))]
 private void DivU1U1DivideByZeroException(byte a)
 {
     Assert.Equal(UInt8Tests.DivU1U1(a, 0), Run <int>("Mosa.UnitTest.Collection.UInt8Tests.DivU1U1", a, (byte)0));
 }
Ejemplo n.º 3
0
 public void DivU1U1DivideByZeroException([U1] byte a)
 {
     Assert.AreEqual(UInt8Tests.DivU1U1(a, (byte)0), Run <int>("Mosa.Test.Collection", "UInt8Tests", "DivU1U1", a, (byte)0));
 }
Ejemplo n.º 4
0
 public void DivU1U1([U1] byte a, [U1NotZero] byte b)
 {
     Assert.AreEqual(UInt8Tests.DivU1U1(a, b), Run <int>("Mosa.Test.Collection", "UInt8Tests", "DivU1U1", a, b));
 }