File tree Expand file tree Collapse file tree 4 files changed +2
-182
lines changed
tests/PolylineAlgorithm.Tests Expand file tree Collapse file tree 4 files changed +2
-182
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55
66namespace PolylineAlgorithm . Tests ;
77
8- using PolylineAlgorithm . Tests . Data ;
9-
108/// <summary>
119/// Defines tests for the <see cref="InvalidPolylineException"/> type.
1210/// </summary>
@@ -18,7 +16,7 @@ public class InvalidPolylineExceptionTest {
1816 [ TestMethod ]
1917 public void Throw_Method_Invalid_Coordinate_Parameter_PolylineMalformedException_Throw ( ) {
2018 // Arrange
21- var position = Values . MalformedPolylineException . Position ;
19+ var position = Random . Shared . Next ( ) ;
2220
2321 // Act
2422 static void ThrowAt ( int position ) => InvalidPolylineException . Throw ( position ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ namespace PolylineAlgorithm.Tests;
77
88using PolylineAlgorithm ;
99using PolylineAlgorithm . Extensions ;
10- using PolylineAlgorithm . Tests . Data ;
1110using PolylineAlgorithm . Utility ;
1211
1312/// <summary>
Original file line number Diff line number Diff line change 55
66namespace PolylineAlgorithm . Tests ;
77
8- using PolylineAlgorithm . Tests . Data ;
98using PolylineAlgorithm . Utility ;
109
1110/// <summary>
@@ -43,7 +42,7 @@ void EncodeNullCoordinates() {
4342 [ TestMethod ]
4443 public void Encode_EmptyInput_ThrowsException ( ) {
4544 // Arrange
46- IEnumerable < Coordinate > empty = Values . Coordinates . Empty ;
45+ IEnumerable < Coordinate > empty = [ ] ;
4746
4847 // Act
4948 void EncodeEmptyCoordinates ( ) {
You can’t perform that action at this time.
0 commit comments