예제 #1
0
 void ReadPrimitives(IPersistableReader reader)
 {
     Assert.AreEqual(reader.ReadString(), TestValues.aString);
     Assert.AreEqual(reader.ReadInt(), TestValues.aInt);
     Assert.AreEqual(reader.ReadUInt(), TestValues.aUint);
     Assert.AreEqual(reader.ReadFloat(), TestValues.aFloat);
     Assert.AreEqual(reader.ReadDouble(), TestValues.aDouble);
     Assert.AreEqual(reader.ReadBool(), TestValues.aBool);
 }