done
This commit is contained in:
parent
cdd9e15a66
commit
ed2581cf4b
@ -64,15 +64,14 @@ func singleTest(t *testing.T, x float64) {
|
||||
t.Fatalf("got error: %d", gotSlownieResponse.Error)
|
||||
}
|
||||
|
||||
t.Logf("%.2f sucessful", x)
|
||||
// their := space.ReplaceAllString(gotSlownieResponse.Data.Word, " ")
|
||||
// if their != kwota {
|
||||
// t.Errorf("%.4f %.2f\n", x, x)
|
||||
// t.Errorf("Got: %s\n", gotSlownieResponse.Data.Word)
|
||||
// t.Errorf("Own: %s\n", kwota)
|
||||
// } else {
|
||||
their := space.ReplaceAllString(gotSlownieResponse.Data.Word, " ")
|
||||
if their != kwota {
|
||||
t.Errorf("Using: %.4f %.2f\n", x, x)
|
||||
t.Errorf("Got: %s\n", gotSlownieResponse.Data.Word)
|
||||
t.Errorf("Own: %s\n", kwota)
|
||||
} else {
|
||||
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
t.Errorf("%.2f %s\n", x, err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user