(elems []string, elem string)
| 111 | } |
| 112 | |
| 113 | func Contains(elems []string, elem string) bool { |
| 114 | for _, e := range elems { |
| 115 | if elem == e { |
| 116 | return true |
| 117 | } |
| 118 | } |
| 119 | return false |
| 120 | } |
| 121 | |
| 122 | func AssertEqual(x, y interface{}) bool { |
| 123 | if reflect.DeepEqual(x, y) { |
no outgoing calls