Explorar o código

added failing test case for IntHash/IE9

Franco Ponticelli %!s(int64=13) %!d(string=hai) anos
pai
achega
1aa643c8c1
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      tests/unit/TestBasetypes.hx

+ 6 - 0
tests/unit/TestBasetypes.hx

@@ -200,5 +200,11 @@ class TestBasetypes extends Test {
 		t( h.exists(65) );
 		t( h.remove(65) );
 		f( h.remove(65) );
+		
+		var h = new IntHash();
+		h.set(1, ['a', 'b']);
+		t( h.exists(1) );
+		t( h.remove(1) );
+		f( h.remove(1) );
 	}
 }