public void PlayOutside(int a, bool b, bool expected) { // arrange Logic obj = new Logic(); // act bool actual = obj.PlayOutside(a, b); // assert Assert.AreEqual(expected, actual); }
public void PlayOutsideTest(int temp, bool isSummer, bool expected) { Logic test = new Logic(); bool actual = test.PlayOutside(temp, isSummer); Assert.AreEqual(expected, actual); }