mirror of
https://github.com/gonum/gonum.git
synced 2025-10-19 21:44:41 +08:00
Changed Fatal to Error in TestSmallAStar -- it lets us see all paths that go wrong instead of just the first one
This commit is contained in:
@@ -131,7 +131,7 @@ func TestSmallAStar(t *testing.T) {
|
||||
fmt.Println()
|
||||
got := fmt.Sprintln(aPath, aCost)
|
||||
if got != exp {
|
||||
t.Fatal("expected", exp, "got", got)
|
||||
t.Error("expected", exp, "got", got)
|
||||
}
|
||||
t.Log(aPath, work)
|
||||
}
|
||||
|
Reference in New Issue
Block a user