File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
tests/PolylineAlgorithm.Abstraction.Tests/Internal Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 66public class CoordinateVarianceTests {
77 public static IEnumerable < ( int Latitude , int Longitude ) > Coordinates => [
88 ( 0 , 0 ) ,
9- ( 10 , 20 ) ,
10- ( - 10 , - 20 ) ,
11- ( 100 , 200 ) ,
12- ( - 100 , - 200 ) ,
13- ( 123456789 , 987654321 ) ,
14- ( - 123456789 , - 987654321 )
9+ ( - 10 , - 10 ) ,
10+ ( 10 , - 10 ) ,
11+ ( - 10 , 10 ) ,
12+ ( 10 , 10 )
1513 ] ;
1614
1715 [ TestMethod ]
18- public void Constructor_Ok ( ) {
16+ public void Constructor_Sets_Defaults ( ) {
1917 // Arrange & Act
2018 CoordinateVariance variance = new ( ) ;
2119 // Assert
@@ -25,7 +23,7 @@ public void Constructor_Ok() {
2523
2624 [ TestMethod ]
2725 [ DynamicData ( nameof ( Coordinates ) , DynamicDataSourceType . Property ) ]
28- public void Next_Ok ( int latitude , int longitude ) {
26+ public void Next_Calculates_Correct_Variance ( int latitude , int longitude ) {
2927 // Arrange
3028 CoordinateVariance variance = new ( ) ;
3129 var expected = ( latitude , longitude ) ;
You can’t perform that action at this time.
0 commit comments