예제 #1
0
        public void MainBoardMakerDeserializeFromJSON(MainBoardMakerTestData inTestData)
        {
            var obj = Fixture.Serializer.Deserialize <MainBoardMaker>(inTestData.SerializedMainBoardMaker);

            obj.Should().BeOfType(typeof(MainBoardMaker));
            Fixture.Serializer.Deserialize <MainBoardMaker>(inTestData.SerializedMainBoardMaker).Should().Be(inTestData.MainBoardMaker);
        }
예제 #2
0
 public void MainBoardMakerSerializeToJSON(MainBoardMakerTestData inTestData)
 {
     Fixture.Serializer.Serialize(inTestData.MainBoardMaker).Should().Be(inTestData.SerializedMainBoardMaker);
 }