public virtual void TestSet_int_Object() { var container = new ConformerContainer(confs); int location = 5; container.Set(location, container[location + 1]); Assert.AreEqual(location, container.IndexOf(container[location + 1])); }
public virtual void TestIndexOf_IAtomContainer() { var container = new ConformerContainer(confs); var ac = container[2]; var index = container.IndexOf(ac); Assert.AreEqual(2, index); }
public virtual void TestIndexOf_Object() { var container = new ConformerContainer(confs); Assert.IsNotNull(container); int counter = 0; foreach (var conf in confs) { Assert.AreEqual(counter, container.IndexOf(conf)); counter++; } }