public void Test1() { var expected = 36.0; var instance02 = new TestMenow(); var actual = instance02.TestThisMethodWorks(2, 3, 2); Assert.AreEqual(expected, actual); }
public void Test1() { //arrange var instance01 = new TestMenow(); var expected01 = 9765625.0; //act var actual = instance01.TestThisMethodWorks(5, 5, 5); //assert Assert.Equal(expected01, actual); }
public void TestMethod1() { //arrange var expected01 = 64; var instance01 = new TestMenow(); //act var actual = instance01.TestThisMethodWorks(2, 2, 3); //assert Assert.AreEqual(expected01, actual); }