public void FindSmallestAboveTestFail() { var array = new[] { new KeyValuePair <int, string>(5, "five"), new KeyValuePair <int, string>(11, "eleven"), new KeyValuePair <int, string>(8, "eight"), new KeyValuePair <int, string>(13, "thirteen"), new KeyValuePair <int, string>(3, "three"), new KeyValuePair <int, string>(7, "seven"), new KeyValuePair <int, string>(12, "twelve") }; dictionary = new SplayDictionary <int, string>(array); dictionary.SmallestAbove(13); }