public void DontAddWhitespaces()
        {
            OperationLoopCollection coll = new OperationLoopCollection();
            coll.Add("   I am whitespaced    ");

            Assert.IsFalse(coll[0].StartsWith(" "));
        }
        public void DontAddWhitespaces()
        {
            OperationLoopCollection coll = new OperationLoopCollection();

            coll.Add("   I am whitespaced    ");

            Assert.IsFalse(coll[0].StartsWith(" "));
        }
        public void DontAddEmptyLoops()
        {
            OperationLoopCollection coll = new OperationLoopCollection();
            coll.Add(null);
            coll.Add("");

            Assert.AreEqual(0, coll.Count);
        }
        public void DontAddEmptyLoops()
        {
            OperationLoopCollection coll = new OperationLoopCollection();

            coll.Add(null);
            coll.Add("");

            Assert.AreEqual(0, coll.Count);
        }
        public void DontAddDoubles()
        {
            OperationLoopCollection coll = new OperationLoopCollection();
            coll.Add("1");
            coll.Add("1");

            Assert.AreEqual(1, coll.Count);

            coll.Add("2");
            coll[1] = "1";

            Assert.AreEqual(coll[0], "1");
            Assert.AreEqual(coll[1], "2");
        }
        public void DontAddDoubles()
        {
            OperationLoopCollection coll = new OperationLoopCollection();

            coll.Add("1");
            coll.Add("1");

            Assert.AreEqual(1, coll.Count);

            coll.Add("2");
            coll[1] = "1";

            Assert.AreEqual(coll[0], "1");
            Assert.AreEqual(coll[1], "2");
        }