public void ShouldCalculateGcd(Polynomial a, Polynomial b, Polynomial expectedGcd) { Assert.Equal(expectedGcd, _gcdFinder.Gcd(a, b)); }
public void ShouldCalculateGcd(GcdFinderTestCase testCase) { Assert.Equal(testCase.Expected, _gcdFinder.Gcd(testCase.A, testCase.B)); }