public virtual void TestStringIntBooleanItem()
 {
     var writtenItem = new StringIntBooleanItem
         ("one", 777, true);
     var readItem = (StringIntBooleanItem
         ) WriteAndRead(writtenItem);
     Assert.AreEqual(writtenItem._name, readItem._name);
     Assert.AreEqual(writtenItem._int, readItem._int);
     Assert.AreEqual(writtenItem._bool, readItem._bool);
 }
Esempio n. 2
0
        public virtual void TestStringIntBooleanItem()
        {
            var writtenItem = new StringIntBooleanItem
                                  ("one", 777, true);
            var readItem = (StringIntBooleanItem
                            )WriteAndRead(writtenItem);

            Assert.AreEqual(writtenItem._name, readItem._name);
            Assert.AreEqual(writtenItem._int, readItem._int);
            Assert.AreEqual(writtenItem._bool, readItem._bool);
        }