Beispiel #1
0
        public void Test_SummaryVolumesProfileCell_NotSimple()
        {
            var pc = new SummaryVolumeProfileCell
            {
                LastCellPassElevation1 = (float)1.0,
                LastCellPassElevation2 = (float)2.0
            };
            var result = SimpleBinarizableInstanceTester.TestClassEx(pc, "SummaryVolumes ProfileCell not same after round trip serialisation");

            result.member.LastCellPassElevation1.Should().Be((float)1.0);
            result.member.LastCellPassElevation2.Should().Be((float)2.0);
        }
Beispiel #2
0
 public void Test_ProfileCell_Simple()
 {
     SimpleBinarizableInstanceTester.TestClassEx <ProfileCell>("Empty ProfileCell not same after round trip serialisation");
 }