public void TestAdd () { JSObject o = new JSObject (null); SymbolId si = new SymbolId (0); o.Add (si, 1); Assert.AreEqual (1, o.Count, "A1"); Assert.IsTrue (o.ContainsKey (si), "A2"); }
public void TestContainsKey() { JSObject o = new JSObject(null); SymbolId si = new SymbolId(0); o.Add(si, 1); Assert.IsTrue(o.ContainsKey(si)); }
public void TestAdd() { JSObject o = new JSObject(null); SymbolId si = new SymbolId(0); o.Add(si, 1); Assert.AreEqual(1, o.Count, "A1"); Assert.IsTrue(o.ContainsKey(si), "A2"); }
public void TestRemove() { JSObject o = new JSObject(null); SymbolId si = new SymbolId(0); o.Add(si, 1); o.Remove(si); Assert.AreEqual(0, o.Count); }
public void TestContainsKey () { JSObject o = new JSObject (null); SymbolId si = new SymbolId (0); o.Add (si, 1); Assert.IsTrue (o.ContainsKey (si)); }
public void TestRemove () { JSObject o = new JSObject (null); SymbolId si = new SymbolId (0); o.Add (si, 1); o.Remove (si); Assert.AreEqual (0, o.Count); }