public void ValidMathFloor() { Hack hack = new Hack(); var mock = new Mock <Hack>(); mock.Setup(m => m.MathFloorExample(2.7)); Assert.That(() => hack.MathFloorExample(2.7), Is.EqualTo(2)); }
public void ValidMathAbs() { var hack = new Hack(); Assert.That(() => hack.MathAbsExample(-5), Is.EqualTo(5)); }