public void RemI2I2(short a, short b) { if (b == 0) { return; } Assert.Equal(Int16Tests.RemI2I2(a, b), Run <int>("Mosa.UnitTest.Collection.Int16Tests.RemI2I2", a, b)); }
//[Theory] //[ExpectedException(typeof(DivideByZeroException))] private void RemI2I2DivideByZeroException(short a) { Assert.Equal(Int16Tests.RemI2I2(a, 0), Run <int>("Mosa.UnitTest.Collection.Int16Tests.RemI2I2", a, (short)0)); }
public void RemI2_I2DivideByZeroException([I2] short a) { Assert.AreEqual(Int16Tests.RemI2I2(a, (short)0), Run <int>("Mosa.Test.Collection", "Int16Tests", "RemI2I2", a, (short)0)); }
public void RemI2_I2([I2] short a, [I2NotZero] short b) { Assert.AreEqual(Int16Tests.RemI2I2(a, b), Run <int>("Mosa.Test.Collection", "Int16Tests", "RemI2I2", a, b)); }