public void TestMySqrt() { // Arrange var calc = new Calculator(); // Act var sqrt = calc.MySqrt(2); var sqrt1 = calc.MySqrt(0); var sqrt2 = calc.MySqrt(1); // Assert Assert.AreEqual(4, sqrt); Assert.AreEqual(0, sqrt1); Assert.AreEqual(1, sqrt2); }