2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-18 15:25:31 +00:00
cointop/pkg/humanize/humanize_test.go

13 lines
186 B
Go

package humanize
import (
"testing"
)
// TestMonetary tests monetary formatting
func TestMonetary(t *testing.T) {
if Monetaryf(834142.3256, 2) != "834,142.3256" {
t.FailNow()
}
}