Exemplo n.º 1
0
 static public void EqualHexArray(String name, List <Hex> a, List <Hex> b)
 {
     Tests.EqualInt(name, a.Count, b.Count);
     for (int i = 0; i < a.Count; i++)
     {
         Tests.EqualHex(name, a[i], b[i]);
     }
 }
Exemplo n.º 2
0
 static public void TestHexDistance()
 {
     Tests.EqualInt("hex_distance", 7, new Hex(3, -7, 4).Distance(new Hex(0, 0, 0)));
 }