horse: fix formatting TenThousandths in (-1, 0)

This commit is contained in:
2026-01-17 00:04:35 -05:00
parent a86aa0daeb
commit e6032f995f
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -40,6 +40,8 @@ func TestTenThousandthsString(t *testing.T) {
want string
}{
{0, "0"},
{500, "0.05"},
{-500, "-0.05"},
{10000, "1"},
{-10000, "-1"},
{15000, "1.5"},