示例#1
0
 public void NthOutOfRangeHighFails()
 {
     MapEntry me = new MapEntry(1, "abc");
     me.nth(4);
 }
示例#2
0
        public void NthInRangeWorks()
        {

            MapEntry me = new MapEntry(1, "abc");

            Expect(me.nth(0), EqualTo(1));
            Expect(me.nth(1), EqualTo("abc"));
        }
示例#3
0
 public void NthOutOfRangeLowFails()
 {
     MapEntry me = new MapEntry(1, "abc");
     me.nth(-4);
 }