コード例 #1
0
        public void TestClassNestedToObject()
        {
            var obj = Converter.DeserializeObject <TestClassNested>(TestClassNested.ArmaArray);

            obj.ShouldBeEquivalentTo(TestClassNested.GetTestObject());
        }
コード例 #2
0
 public void TestClassNestedToArmaArray()
 {
     Assert.AreEqual(TestClassNested.ArmaArray, Converter.SerializeObject(TestClassNested.GetTestObject()));
 }