aboutsummaryrefslogtreecommitdiff
path: root/go/game/card_test.go
blob: 72f1489a31f1be2763f676169681f148257cbb13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package game

import (
	"reflect"
	"testing"
)

func TestLoadingAllCards(t *testing.T) {
	v := reflect.ValueOf(Sets)
	for i := 0; i < v.NumField(); i++ {
		set := v.Field(i).Interface().(SetIdentifier)
		NewDeckFromCardPaths(set.CardPaths()).Cards()
	}
}