mirror of
https://github.com/ollama/ollama.git
synced 2025-03-26 17:51:48 +01:00
test: add test cases for HumanNumber (#9108)
This commit is contained in:
parent
3b4424ff98
commit
716e365615
@ -12,6 +12,9 @@ func TestHumanNumber(t *testing.T) {
|
||||
|
||||
testCases := []testCase{
|
||||
{0, "0"},
|
||||
{999, "999"},
|
||||
{1000, "1K"},
|
||||
{1001, "1K"},
|
||||
{1000000, "1M"},
|
||||
{125000000, "125M"},
|
||||
{500500000, "500.50M"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user