示例#1
0
 public void testGetValue()
 {
     if ((int)t.getValue("care") != 2)
     {
         throw new System.Exception();
     }
     if ((int)t.getValue("carp") != 3)
     {
         throw new System.Exception();
     }
     if ((int)t.getValue("car") != 1)
     {
         throw new System.Exception();
     }
     if ((int)t.getValue("carry") != 4)
     {
         throw new System.Exception();
     }
 }