public void Example() { Assert.Equal(4, Q04.GetIntSqrt(16)); Assert.Equal(17, Q04.GetIntSqrt(300)); Assert.Equal(4, Q04.SmartAssAns(16)); Assert.Equal(17, Q04.SmartAssAns(300)); }
public void EdgeCases() { Assert.Equal(0, Q04.BookAnswer(0)); Assert.Equal(1, Q04.BookAnswer(1)); //Assert.Equal(0, Q04.GetIntSqrt(0)); //Assert.Equal(1, Q04.GetIntSqrt(1)); Assert.Equal(0, Q04.SmartAssAns(0)); Assert.Equal(1, Q04.SmartAssAns(1)); }
public void ExampleWithBookAnswer() { Assert.Equal(4, Q04.BookAnswer(16)); Assert.Equal(17, Q04.BookAnswer(300)); }