public void ThirtyRandomTests() { var rand = new Random(); for (var i = 0; i < 30; i++) { var num = rand.Next(1, 30); var answer = 1; var temp1 = 1; var temp2 = 1; for (var j = 3; j <= num; j++) { answer = temp1 + temp2; temp1 = temp2; temp2 = answer; } Assert.AreEqual(answer, _fibonacci.Fib(num)); } }