public void TestMethodGcdEuclidTwoNumbers() { double time; int a, b, gcd; for (int i = 0; i < 100; i++) { time = 0; a = rand.Next(-1000, 1001); b = rand.Next(-1000, 1001); gcd = NOD.findGcdEuclid(a, b, ref time); Assert.IsTrue(CheckResult(gcd, a, b)); } }