Skip to content

Commit cee02a9

Browse files
committed
Forgot to include test
1 parent cc090bb commit cee02a9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

YoungTableaux/Tests/enumerationTests.m2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ TEST ///
2727
lambda = youngDiagram (n:2);
2828
assert(#(allStandardYoungTableaux lambda) == binomaial(2*n, n) // (n+1))
2929
)
30-
30+
3131
-- FACT: Let f(n) = |SYT(n)|. Then the following recurrence relation holds:
3232
-- f(n) = f(n-1) + (n-1) * f(n-2).
3333
assert(allStandardYoungTableaux 5 == allStandardYoungTableaux 4 + 4 * allStandardYoungTableaux 3)
34+
35+
-- The number of tableaux generated should agree with the hook-length
36+
-- formualtion used in numberStandardYoungTableaux.
37+
lambda = {4,3,1}
38+
assert(#allStandardYoungTableaux lambda == numberStandardYoungTableaux lambda)
3439
///
3540

3641
TEST ///

0 commit comments

Comments
 (0)