Skip to content

Commit

Permalink
Appended logging time to TestMeasureDistance_DistanceNaN(_)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarutakaMatsumoto committed Nov 28, 2024
1 parent f2b5d55 commit 4e1185f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Measure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ func TestMeasureDistance_DistanceNaN(t *testing.T) {
Direction: mgl64.Vec3{-0.09838696251414104, 0.19117353980163715, 0.08413127327169329},
}

start := time.Now()
measure.MeasureDistance()
t.Log("Time: ", time.Since(start))

if measure.Distance != correctDistance {
t.Error("The distance: ", measure.Distance, " is different from the correct distance: ", correctDistance)
Expand Down

0 comments on commit 4e1185f

Please sign in to comment.