(t *testing.T)
| 1008 | } |
| 1009 | |
| 1010 | func TestSet(t *testing.T) { |
| 1011 | p := newArgument("N", nil) |
| 1012 | q := newArgument("N", nil) |
| 1013 | if reflect.DeepEqual(p, q) != true { |
| 1014 | t.Fail() |
| 1015 | } |
| 1016 | pl := patternList{newArgument("N", nil), newArgument("N", nil)} |
| 1017 | ql := patternList{newArgument("N", nil)} |
| 1018 | if reflect.DeepEqual(pl.unique(), ql.unique()) != true { |
| 1019 | t.Fail() |
| 1020 | } |
| 1021 | } |
| 1022 | |
| 1023 | func TestPatternFixIdentities1(t *testing.T) { |
| 1024 | p := newRequired( |
nothing calls this directly
no test coverage detected