|
10 | 10 | g = 1 + y + x * y; |
11 | 11 | a1 = (0, 3); |
12 | 12 | a2 = (2, 1); |
13 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 13 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
14 | 14 | @test length(C) == 12 |
15 | 15 | @test dimension(C) == 4 |
16 | 16 |
|
17 | 17 | f = 1 + x + y; |
18 | 18 | g = 1 + y + x; |
19 | 19 | a1 = (0, 7); |
20 | 20 | a2 = (1, 2); |
21 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 21 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
22 | 22 | @test length(C) == 14 |
23 | 23 | @test dimension(C) == 6 |
24 | 24 |
|
25 | 25 | f = 1 + x + x * y; |
26 | 26 | g = 1 + y + x * y; |
27 | 27 | a1 = (0, 3); |
28 | 28 | a2 = (3, 0); |
29 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 29 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
30 | 30 | @test length(C) == 18 |
31 | 31 | @test dimension(C) == 4 |
32 | 32 |
|
33 | 33 | f = 1 + x + x * y; |
34 | 34 | g = 1 + y + x * y; |
35 | 35 | a1 = (0, 3); |
36 | 36 | a2 = (4, 2); |
37 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 37 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
38 | 38 | @test length(C) == 24 |
39 | 39 | @test dimension(C) == 4 |
40 | 40 |
|
41 | 41 | f = 1 + x + x^-1 * y; |
42 | 42 | g = 1 + y + x * y; |
43 | 43 | a1 = (0, 7); |
44 | 44 | a2 = (2, 3); |
45 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 45 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
46 | 46 | @test length(C) == 28 |
47 | 47 | @test dimension(C) == 6 |
48 | 48 |
|
49 | 49 | f = 1 + x + x^2; |
50 | 50 | g = 1 + y + x^2; |
51 | 51 | a1 = (0, 3); |
52 | 52 | a2 = (5, 1); |
53 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 53 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
54 | 54 | @test length(C) == 30 |
55 | 55 | @test dimension(C) == 4 |
56 | 56 |
|
57 | 57 | f = 1 + x + x^-1; |
58 | 58 | g = 1 + y + y^-1; |
59 | 59 | a1 = (0, 9); |
60 | 60 | a2 = (2, 4); |
61 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 61 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
62 | 62 | @test length(C) == 36 |
63 | 63 | @test dimension(C) == 4 |
64 | 64 |
|
65 | 65 | f = 1 + x + x * y; |
66 | 66 | g = 1 + y + x * y^-1; |
67 | 67 | a1 = (0, 7); |
68 | 68 | a2 = (3, 2); |
69 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 69 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
70 | 70 | @test length(C) == 42 |
71 | 71 | @test dimension(C) == 6 |
72 | 72 |
|
73 | 73 | f = 1 + x + x^2; |
74 | 74 | g = 1 + y + x^2; |
75 | 75 | a1 = (0, 3); |
76 | 76 | a2 = (8, 1); |
77 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 77 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
78 | 78 | @test length(C) == 48 |
79 | 79 | @test dimension(C) == 4 |
80 | 80 |
|
81 | 81 | f = 1 + x + x^-1; |
82 | 82 | g = 1 + y + x^3 * y^2; |
83 | 83 | a1 = (0, 3); |
84 | 84 | a2 = (9, 0); |
85 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 85 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
86 | 86 | @test length(C) == 54 |
87 | 87 | @test dimension(C) == 8 |
88 | 88 |
|
89 | 89 | f = 1 + x + y^-2; |
90 | 90 | g = 1 + y + x^-2; |
91 | 91 | a1 = (0, 7); |
92 | 92 | a2 = (4, 3); |
93 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 93 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
94 | 94 | @test length(C) == 56 |
95 | 95 | @test dimension(C) == 6 |
96 | 96 |
|
97 | 97 | f = 1 + x + y^-2; |
98 | 98 | g = 1 + y + x^2; |
99 | 99 | a1 = (0, 10); |
100 | 100 | a2 = (3, 3); |
101 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 101 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
102 | 102 | @test length(C) == 60 |
103 | 103 | @test dimension(C) == 8 |
104 | 104 |
|
105 | 105 | f = 1 + x + x^-1 * y; |
106 | 106 | g = 1 + y + x^-1 * y^-1; |
107 | 107 | a1 = (0, 31); |
108 | 108 | a2 = (1, 13); |
109 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 109 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
110 | 110 | @test length(C) == 62 |
111 | 111 | @test dimension(C) == 10 |
112 | 112 |
|
113 | 113 | f = 1 + x + x^-2 * y^-1; |
114 | 114 | g = 1 + y + x^2 * y; |
115 | 115 | a1 = (0, 3); |
116 | 116 | a2 = (11, 2); |
117 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 117 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
118 | 118 | @test length(C) == 66 |
119 | 119 | @test dimension(C) == 4 |
120 | 120 |
|
121 | 121 | f = 1 + x + x * y; |
122 | 122 | g = 1 + y + x * y^-1; |
123 | 123 | a1 = (0, 7); |
124 | 124 | a2 = (5, 1); |
125 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 125 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
126 | 126 | @test length(C) == 70 |
127 | 127 | @test dimension(C) == 6 |
128 | 128 |
|
129 | 129 | f = 1 + x + x^-1 * y^3; |
130 | 130 | g = 1 + y + x^3 * y^-1; |
131 | 131 | a1 = (0, 12); |
132 | 132 | a2 = (3, 3); |
133 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 133 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
134 | 134 | @test length(C) == 72 |
135 | 135 | @test dimension(C) == 8 |
136 | 136 |
|
137 | 137 | f = 1 + x + x^-2 * y^-1; |
138 | 138 | g = 1 + y + x^2 * y; |
139 | 139 | a1 = (0, 3); |
140 | 140 | a2 = (13, 1); |
141 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 141 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
142 | 142 | @test length(C) == 78 |
143 | 143 | @test dimension(C) == 4 |
144 | 144 |
|
145 | 145 | f = 1 + x + x^-2; |
146 | 146 | g = 1 + y + x^-2 * y^2; |
147 | 147 | a1 = (0, 14); |
148 | 148 | a2 = (3, -6); |
149 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 149 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
150 | 150 | @test length(C) == 84 |
151 | 151 | @test dimension(C) == 6 |
152 | 152 |
|
153 | 153 | f = 1 + x + x^-1 * y^-3; |
154 | 154 | g = 1 + y + x^3 * y^-1; |
155 | 155 | a1 = (0, 15); |
156 | 156 | a2 = (3, -6); |
157 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 157 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
158 | 158 | @test length(C) == 90 |
159 | 159 | @test dimension(C) == 8 |
160 | 160 |
|
161 | 161 | f = 1 + x + x^-2 * y; |
162 | 162 | g = 1 + y + x * y^-2; |
163 | 163 | a1 = (0, 12); |
164 | 164 | a2 = (4, 2); |
165 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 165 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
166 | 166 | @test length(C) == 96 |
167 | 167 | @test dimension(C) == 4 |
168 | 168 |
|
169 | 169 | f = 1 + x + x^-1 * y^2; |
170 | 170 | g = 1 + y + x^-2 * y^-1; |
171 | 171 | a1 = (0, 7); |
172 | 172 | a2 = (7, 0); |
173 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 173 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
174 | 174 | @test length(C) == 98 |
175 | 175 | @test dimension(C) == 6 |
176 | 176 |
|
177 | 177 | f = 1 + x + x^-3 * y; |
178 | 178 | g = 1 + y + x^3 * y^2; |
179 | 179 | a1 = (0, 3); |
180 | 180 | a2 = (17, 2); |
181 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 181 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
182 | 182 | @test length(C) == 102 |
183 | 183 | @test dimension(C) == 4 |
184 | 184 |
|
185 | 185 | f = 1 + x + x^-1 * y^-3; |
186 | 186 | g = 1 + y + x^3 * y^-1; |
187 | 187 | a1 = (0, 9); |
188 | 188 | a2 = (6, 0); |
189 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 189 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
190 | 190 | @test length(C) == 108 |
191 | 191 | @test dimension(C) == 8 |
192 | 192 |
|
193 | 193 | f = 1 + x + x^-1 * y^3; |
194 | 194 | g = 1 + y + x^3 * y^-1; |
195 | 195 | a1 = (0, 9); |
196 | 196 | a2 = (6, 0); |
197 | | - C = FiniteGeneralizedToricCode(f, g, a1, a2) |
| 197 | + C = CSSCode(FiniteGeneralizedToricCode(f, g, a1, a2)) |
198 | 198 | @test length(C) == 108 |
199 | 199 | @test dimension(C) == 8 |
200 | 200 |
|
|
0 commit comments