This commit is contained in:
robinson 2019-10-07 15:09:51 +02:00
parent cdd9e15a66
commit ed2581cf4b

View File

@ -64,15 +64,14 @@ func singleTest(t *testing.T, x float64) {
t.Fatalf("got error: %d", gotSlownieResponse.Error) t.Fatalf("got error: %d", gotSlownieResponse.Error)
} }
t.Logf("%.2f sucessful", x) their := space.ReplaceAllString(gotSlownieResponse.Data.Word, " ")
// their := space.ReplaceAllString(gotSlownieResponse.Data.Word, " ") if their != kwota {
// if their != kwota { t.Errorf("Using: %.4f %.2f\n", x, x)
// t.Errorf("%.4f %.2f\n", x, x) t.Errorf("Got: %s\n", gotSlownieResponse.Data.Word)
// t.Errorf("Got: %s\n", gotSlownieResponse.Data.Word) t.Errorf("Own: %s\n", kwota)
// t.Errorf("Own: %s\n", kwota) } else {
// } else {
// } }
} else { } else {
t.Errorf("%.2f %s\n", x, err) t.Errorf("%.2f %s\n", x, err)
} }