public void SpecialEleven(int a, bool expected) { // arrange Logic obj = new Logic(); // act bool actual = obj.SpecialEleven(a); // assert Assert.AreEqual(expected, actual); }
public void SpecialEleven(int n,bool expected ) { Logic test = new Logic(); bool actual = test.SpecialEleven(n); Assert.AreEqual(expected, actual); }