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)); }
//[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)); }
public void DivU4U4([U4] uint a, [U4NotZero] uint b) { Assert.AreEqual(UInt32Tests.DivU4U4(a, b), Run <uint>("Mosa.Test.Collection", "UInt32Tests", "DivU4U4", a, b)); }