public void NthOutOfRangeHighFails() { MapEntry me = new MapEntry(1, "abc"); me.nth(4); }
public void NthInRangeWorks() { MapEntry me = new MapEntry(1, "abc"); Expect(me.nth(0), EqualTo(1)); Expect(me.nth(1), EqualTo("abc")); }
public void NthOutOfRangeLowFails() { MapEntry me = new MapEntry(1, "abc"); me.nth(-4); }