(t *testing.T)
| 225 | } |
| 226 | |
| 227 | func TestState(t *testing.T) { |
| 228 | t.Log("TestState") |
| 229 | stateValSmall := State(Small) |
| 230 | stateValLarge := State(Large) |
| 231 | |
| 232 | if !findInSlice(jsonData.StatesSmall, stateValSmall) { |
| 233 | t.Error("Couldnt find small state name in states") |
| 234 | } |
| 235 | |
| 236 | if !findInSlice(jsonData.States, stateValLarge) { |
| 237 | t.Error("Couldnt find state name in states") |
| 238 | } |
| 239 | |
| 240 | } |
| 241 | |
| 242 | func TestNoun(t *testing.T) { |
| 243 | if len(jsonData.Nouns) == 0 { |
nothing calls this directly
no test coverage detected
searching dependent graphs…