Guest User

Untitled

a guest
May 27th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. [Theory]
  2. [InlineData(1,1)]
  3. [InlineData(4,2)]
  4. [InlineData(9,3)]
  5. [InlineData(16,4)]
  6. [InlineData(0.25,0.5)]
  7. public void SquareRootOfPositiveNumber(double input, double expected)
  8. {
  9. Assert.Equal(expected, Maths.SqrRoot(input));
  10. }
Add Comment
Please, Sign In to add comment