public void Should_ReturnExpected_When_InputBothNumbersZero() { var a = 0; var b = 0; GcdFinder.FindWithStein(a, b); }
public void Should_ReturnRightResult_When_InputNegativeSecondNumberAndPositiveFirstNumber() { // arrange var a = 5; var b = -10; var expected = 5; // act var actual = GcdFinder.FindWithStein(a, b); // Assert Assert.AreEqual(expected, actual); }
public void Should_Return16_When_Input64and48() { // arrange var a = 64; var b = 48; var expected = 16; // act var actual = GcdFinder.FindWithStein(a, b); // Assert Assert.AreEqual(expected, actual); }
public void Should_Return5_When_Input0and5() { // arrange var a = 0; var b = 5; var expected = 5; // act var actual = GcdFinder.FindWithStein(a, b); // Assert Assert.AreEqual(expected, actual); }
public void Should_ReturnRightResult_When_InputNegativeBothNumbers() { // arrange var a = -5; var b = -10; var expected = 5; // act var actual = GcdFinder.FindWithStein(a, b); // Assert Assert.AreEqual(expected, actual); }