public void TestAfter() { var a = new History (); a.Add (new DateTime (2003, 3, 15)); a.Add (new DateTime (2003, 3, 20)); var b = a.After (new DateTime (2003, 3, 18)); Assert.True (b.Count == 2); Assert.True (b[0] == new DateTime (2003, 3, 18)); Assert.True (b[1] == new DateTime (2003, 3, 20)); }