public void AddNumbersTest() { //Assign Calculator target = new Calculator(); int a = 2; int b = 2; int expected = 4; int actual; //Act //setup of shared methods or variables actual = target.AddNumbers(a, b); //Assert Assert.AreEqual(expected, actual); Assert.IsTrue(true); }
public void GetNotesTest() { //Assign Calculator target = new Calculator(); int param1 = 0; //Act //setup of shared methods or variables var result = target.GetNotes(param1); //Assert Assert.IsTrue(result.Count == 1); Assert.IsTrue(result[0].Name == "test1"); }