stat/combin: fix spelling

This commit is contained in:
Dan Kortschak
2019-10-24 19:28:01 +10:30
parent f54cad9e6d
commit 35c4e21c06
3 changed files with 11 additions and 11 deletions

View File

@@ -294,7 +294,7 @@ func TestCartesian(t *testing.T) {
}
got := Cartesian(lens)
if !intSosMatch(want, got) {
t.Errorf("cartesian data mismatch.\nwant:\n%v\ngot:\n%v", want, got)
t.Errorf("Cartesian data mismatch.\nwant:\n%v\ngot:\n%v", want, got)
}
}
@@ -302,7 +302,7 @@ func TestNumCartesianProducts(t *testing.T) {
want := 6
got := Card([]int{1, 2, 3})
if want != got {
t.Errorf("number of cartesian products mismatch.\nwant:\n%v\ngot:\n%v", want, got)
t.Errorf("number of Cartesian products mismatch.\nwant:\n%v\ngot:\n%v", want, got)
}
}