# HG changeset patch
# User Simon King <simon.king@uni-jena.de>
# Date 1362484420 -3600
# Node ID 35b2b2cf65b2c14d8cb43005a78212cd60f2629a
# Parent 4c9cd6982ce0f55ddaf1fb1cb73827c537f52023
#14054: Test against the *sorted* output of RiggedConfigurations.list()
diff --git a/sage/combinat/rigged_configurations/rigged_configurations.py b/sage/combinat/rigged_configurations/rigged_configurations.py
a
|
b
|
|
45 | 45 | Rigged configurations of type ['A', 3, 1] and factors ((2, 1),) |
46 | 46 | sage: RC.cardinality() |
47 | 47 | 6 |
48 | | sage: RC.list() |
| 48 | sage: sorted(RC.list()) |
49 | 49 | [ |
50 | 50 | (/) |
51 | 51 | <BLANKLINE> |
… |
… |
|
55 | 55 | , |
56 | 56 | (/) |
57 | 57 | <BLANKLINE> |
| 58 | 0[ ]0 |
| 59 | <BLANKLINE> |
| 60 | -1[ ]-1 |
| 61 | , |
| 62 | (/) |
| 63 | <BLANKLINE> |
58 | 64 | -1[ ]-1 |
59 | 65 | <BLANKLINE> |
60 | 66 | (/) |
61 | 67 | , |
62 | | (/) |
63 | | <BLANKLINE> |
64 | | 0[ ]0 |
65 | | <BLANKLINE> |
66 | | -1[ ]-1 |
67 | | , |
68 | 68 | -1[ ]-1 |
69 | 69 | <BLANKLINE> |
70 | 70 | 0[ ]0 |
71 | 71 | <BLANKLINE> |
72 | 72 | (/) |
73 | 73 | , |
| 74 | 0[ ]0 |
| 75 | <BLANKLINE> |
| 76 | -1[ ]-1 |
| 77 | -1[ ]-1 |
| 78 | <BLANKLINE> |
| 79 | 0[ ]0 |
| 80 | , |
74 | 81 | -1[ ]-1 |
75 | 82 | <BLANKLINE> |
76 | 83 | 1[ ]1 |
77 | 84 | <BLANKLINE> |
78 | 85 | -1[ ]-1 |
79 | | , |
80 | | 0[ ]0 |
81 | | <BLANKLINE> |
82 | | -1[ ]-1 |
83 | | -1[ ]-1 |
84 | | <BLANKLINE> |
85 | | 0[ ]0 |
86 | 86 | ] |
87 | 87 | |
88 | 88 | A rigged configuration element with all riggings equal to the vacancy numbers can be created as follows:: |
… |
… |
|
589 | 589 | EXAMPLES:: |
590 | 590 | |
591 | 591 | sage: RC = HighestWeightRiggedConfigurations(['D', 4, 1], [[2, 2]]) |
592 | | sage: RC.list() |
| 592 | sage: sorted(RC.list()) |
593 | 593 | [ |
594 | 594 | (/) |
595 | 595 | <BLANKLINE> |