Procházet zdrojové kódy

added failing test case for IntHash/IE9

Franco Ponticelli před 13 roky
rodič
revize
1aa643c8c1
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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) );
 	}
 }