mirror of
https://github.com/gonum/gonum.git
synced 2025-10-27 01:00:26 +08:00
graph/path: fix error messages
This commit is contained in:
@@ -59,7 +59,7 @@ func TestDijkstraFrom(t *testing.T) {
|
||||
|
||||
p, weight := pt.To(test.Query.To().ID())
|
||||
if weight != test.Weight {
|
||||
t.Errorf("%q %s: unexpected weight from Between: got:%f want:%f",
|
||||
t.Errorf("%q %s: unexpected weight from To: got:%f want:%f",
|
||||
test.Name, tg.typ, weight, test.Weight)
|
||||
}
|
||||
if weight := pt.WeightTo(test.Query.To().ID()); weight != test.Weight {
|
||||
|
||||
Reference in New Issue
Block a user