mirror of
https://github.com/ollama/ollama.git
synced 2026-04-28 03:39:48 +02:00
Standardize with ollama.com
This commit is contained in:
@@ -11,15 +11,14 @@ func TestHumanNumber(t *testing.T) {
|
||||
}
|
||||
|
||||
testCases := []testCase{
|
||||
{0, "0"},
|
||||
{1000000, "1M"},
|
||||
{125000000, "125M"},
|
||||
{500500000, "500.50M"},
|
||||
{500550000, "500.55M"},
|
||||
{1000000000, "1B"},
|
||||
{2800000000, "2.80B"},
|
||||
{2850000000, "2.85B"},
|
||||
{1000000000000, "1000B"},
|
||||
{26000000, "26.0M"},
|
||||
{26000000000, "26.0B"},
|
||||
{1000, "1.00K"},
|
||||
{1000000, "1.00M"},
|
||||
{1000000000, "1.00B"},
|
||||
{1000000000000, "1.00T"},
|
||||
{100, "100"},
|
||||
{206000000, "206M"},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user