public void Test_GetLength_Empty()
 {
     Assert.Equal(S1Angle.Zero, S2ShapeIndexMeasures.GetLength(MakeIndexOrDie("# #")));
 }
 public void Test_GetLength_TwoLines()
 {
     Assert.Equal(S1Angle.FromDegrees(2), S2ShapeIndexMeasures.GetLength(MakeIndexOrDie(
                                                                             "4:4 # 0:0, 1:0 | 1:0, 2:0 # 5:5, 5:6, 6:5")));
 }
Beispiel #3
0
 public void Test_GetLength_NoPolylines()
 {
     Assert.Equal(S1Angle.Zero, S2ShapeIndexMeasures.GetLength(MakeIndexOrDie("")));
 }