Skip to content

Commit

Permalink
Railway: Minor updates to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
geofurlong committed May 23, 2024
1 parent ac2b0ed commit eaff1cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/geocode/railway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ func TestExplodeTotalYards(t *testing.T) {
expectedYards: 1,
},
{
// Large total yards.
// Large positive total yards.
totalYards: 17_601,
expectedMiles: 10,
expectedYards: 1,
},
{
// Very large total yards.
// Very large positive total yards.
totalYards: 176_001,
expectedMiles: 100,
expectedYards: 1,
Expand Down Expand Up @@ -161,7 +161,8 @@ func TestBuildTotalYards(t *testing.T) {
yards: 2,
expectedTotalYards: 2},

{miles: 0,
{
miles: 0,
yards: 1_759,
expectedTotalYards: 1_759},
{
Expand Down

0 comments on commit eaff1cb

Please sign in to comment.