Ejemplo n.º 1
0
 public void TestOverlap()
 {
     var a = new RedBlackSetTester<int>(_odd);
     Assert.That(() => a.Overlaps(null), Throws.InstanceOf<ArgumentNullException>());
     Assert.That(a.Overlaps(_even), Is.False);
     a.AddRange(_primes);
     Assert.That(a.Overlaps(_even));
 }