public void VerifyIsNegative() { //Arrange double negativeNumber = -10; //Assert Assert.IsTrue(_calculator.isNegative(negativeNumber)); }
public void CheckIsNegativeWithDouble() { Thread.Sleep(10000); Calculator calculator = new Calculator(); double a = -18655559; //Act var actualResult = calculator.isNegative(a); //Assert Assert.AreEqual(true, actualResult); }