Ejemplo n.º 1
0
 private static void Validate <T>(Node <T> head, Node <T> loopStart)
     where T : IEquatable <T>
 {
     Assert.AreEqual(loopStart, Question2_8.FindLoopStart(head));
 }
Ejemplo n.º 2
0
 public void InvalidInputTest()
 {
     TestHelpers.AssertExceptionThrown(() => Question2_8.FindLoopStart <int>(null), typeof(ArgumentNullException));
 }