MCPcopy Create free account
hub / github.com/Pallinder/go-randomdata / TestCurrency

Function TestCurrency

random_data_test.go:182–187  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

180}
181
182func TestCurrency(t *testing.T) {
183 t.Log("TestCurrency")
184 if !findInSlice(jsonData.Currencies, Currency()) {
185 t.Error("Could not find currency in currencies")
186 }
187}
188
189func TestCity(t *testing.T) {
190 t.Log("TestCity")

Callers

nothing calls this directly

Calls 2

findInSliceFunction · 0.85
CurrencyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…