| 1 |
package charmtone |
| 2 |
|
| 3 |
import ( |
| 4 |
"testing" |
| 5 |
|
| 6 |
"github.com/lucasb-eyer/go-colorful" |
| 7 |
) |
| 8 |
|
| 9 |
func TestValidateHexes(t *testing.T) { |
| 10 |
for _, key := range Keys() { |
| 11 |
if _, err := colorful.Hex(key.Hex()); err != nil { |
| 12 |
t.Errorf("Key %s: %v", key, err) |
| 13 |
} |
| 14 |
} |
| 15 |
} |