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)); }
//[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)); }
public void DivU1U1DivideByZeroException([U1] byte a) { Assert.AreEqual(UInt8Tests.DivU1U1(a, (byte)0), Run <int>("Mosa.Test.Collection", "UInt8Tests", "DivU1U1", a, (byte)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)); }