浏览代码

added failing test case for IntHash/IE9

Franco Ponticelli 13 年之前
父节点
当前提交
1aa643c8c1
共有 1 个文件被更改,包括 6 次插入0 次删除
  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) );
 	}
 }