Пример #1
0
 public void TheZeroethOrLessFibonacciThrows()
 {
     Assert.Throws(typeof(ArgumentOutOfRangeException), () => EnquireCodeProblemSolutions.GetFibonacci(-1));
 }
Пример #2
0
 public void ThereIsOneAnnogram()
 {
     Assert.True(EnquireCodeProblemSolutions.GetAnnograms(new[] { "google", "inlists", "enlist" }, "listen").Count() == 1);
 }