public void FloorTest(decimal number) { MathMethods mathMethods = new MathMethods(); decimal result = mathMethods.Floor(number); decimal wantedResult = Math.Floor(number); Assert.That(result.Equals(wantedResult)); }