public void GcdTest() { Assert.Equal(1, ApiUtil.Gcd(7, 19)); Assert.Equal(3, ApiUtil.Gcd(3, 9)); Assert.Equal(3, ApiUtil.Gcd(6, 9)); Assert.Equal(3, ApiUtil.Gcd(12, 9)); Assert.Equal(9, ApiUtil.Gcd(81, 9)); }
public void GcdTest() { Assert.Equal(1, ApiUtil.Gcd(7, 19)); Assert.Equal(3, ApiUtil.Gcd(3, 9)); Assert.Equal(3, ApiUtil.Gcd(6, 9)); Assert.Equal(3, ApiUtil.Gcd(12, 9)); Assert.Equal(9, ApiUtil.Gcd(81, 9)); }