public void TestKSortAdd_10() { Ksort ks = new Ksort(); ks.Index("a00"); ks.Index("c54"); ks.Add("a00"); ks.Add("c54"); ks.Add("h99"); Assert.AreEqual("a00", ks.items[ks.Index("a00")]); Assert.AreEqual("c54", ks.items[ks.Index("c54")]); Assert.AreEqual("h99", ks.items[ks.Index("h99")]); }
public void TestKSortIndex_12() { Ksort ks = new Ksort(); Assert.AreEqual(-1, ks.Index("i01")); }
public void TestKSortIndex_11() { Ksort ks = new Ksort(); Assert.AreEqual(799, ks.Index("h99")); }
public void TestKSortIndex_10() { Ksort ks = new Ksort(); Assert.AreEqual(701, ks.Index("h01")); }
public void TestKSortIndex_9() { Ksort ks = new Ksort(); Assert.AreEqual(489, ks.Index("e89")); }
public void TestKSortIndex_8() { Ksort ks = new Ksort(); Assert.AreEqual(445, ks.Index("e45")); }
public void TestKSortIndex_7() { Ksort ks = new Ksort(); Assert.AreEqual(401, ks.Index("e01")); }
public void TestKSortIndex_6() { Ksort ks = new Ksort(); Assert.AreEqual(110, ks.Index("b10")); }
public void TestKSortIndex_5() { Ksort ks = new Ksort(); Assert.AreEqual(100, ks.Index("b00")); }
public void TestKSortIndex_4() { Ksort ks = new Ksort(); Assert.AreEqual(11, ks.Index("a11")); }
public void TestKSortIndex_20() { Ksort ks = new Ksort(); Assert.AreEqual(-1, ks.Index("00a")); }
public void TestKSortIndex_1() { Ksort ks = new Ksort(); Assert.AreEqual(0, ks.Index("a00")); }