public void InstantiateFromIntArray() { superq sq = superq.Create(new int[3] { 1, 2, 3 }); Assert.AreEqual(3, sq.list.count); }
public void CreateRemote() { superq sq = superq.Create(new int[] { 1, 2, 3 }, "sq1", "127.0.0.1:9990"); try { sq = superq.Read("sq1", "127.0.0.1:9990"); } catch { Assert.Fail("superq either not created or not read."); } }
public void DeleteRemote() { superq.Delete("sq1", "127.0.0.1:9990"); try { superq sq = superq.Read("sq1", "127.0.0.1:9990"); } catch { return; } Assert.Fail("superq not deleted."); }
public void RetrieveElemByIndex() { superq sq = superq.Create(new int[] { 1, 2, 3 }); Assert.AreEqual(2, sq[1]); }
public void BasicInstantiation() { superq sq = superq.Create(new object[0]); }
public void ReadRemote() { superq sq = superq.Read("sq1", "127.0.0.1:9990"); Assert.AreEqual(1, sq[0]); }
public void InstantiateWithKeyCol() { superq sq = superq.Create(new FooNode[] { new FooNode(1), new FooNode(2) }, "a"); }
public void InstantiateFromCustomObjects() { superq sq = superq.Create(new FooNode[] { new FooNode(1), new FooNode(2) }); }
public void InstantiateFromNonUniqueList() { superq sq = superq.Create(new int[] { 1, 1, 2 }); }