mathematical 1.6.18 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +26 -16
- data/Rakefile +80 -17
- data/ext/mathematical/CMakeLists.txt +23 -43
- data/ext/mathematical/extconf.rb +70 -24
- data/ext/mathematical/lasem_overrides.c +4 -8
- data/ext/mathematical/mathematical.c +7 -9
- data/ext/mathematical/mtex2MML/CMakeLists.txt +5 -5
- data/ext/mathematical/mtex2MML/README.md +19 -19
- data/ext/mathematical/mtex2MML/deps/uthash/package.json +2 -1
- data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +35 -22
- data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +524 -458
- data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +255 -74
- data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +14 -14
- data/ext/mathematical/mtex2MML/deps/uthash/utstack.h +88 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +34 -25
- data/ext/mathematical/mtex2MML/script/cibuild +5 -48
- data/ext/mathematical/mtex2MML/script/test-quick +48 -0
- data/ext/mathematical/mtex2MML/src/environment.c +5 -1
- data/ext/mathematical/mtex2MML/tests/mathjax.c +591 -591
- data/ext/pulldown-latex/Cargo.lock +1833 -0
- data/fonts/cmex10.ttf +0 -0
- data/fonts/cmmi10.ttf +0 -0
- data/fonts/cmr10.ttf +0 -0
- data/fonts/cmsy10.ttf +0 -0
- data/fonts/eufm10.ttf +0 -0
- data/fonts/fonts.conf +11 -0
- data/fonts/msam10.ttf +0 -0
- data/fonts/msbm10.ttf +0 -0
- data/lib/mathematical/version.rb +1 -1
- data/lib/mathematical.rb +16 -1
- data/mathematical.gemspec +7 -3
- metadata +42 -14
- data/ext/mathematical/mtex2MML/appveyor.yml +0 -35
|
@@ -29,390 +29,390 @@ void test_mathjax__cleanup(void)
|
|
|
29
29
|
|
|
30
30
|
/* EVERYTHING BELOW IS AUTOGENERATED BY mathjax_generate.py */
|
|
31
31
|
|
|
32
|
-
void
|
|
32
|
+
void test_mathjax__abovebelowaccents1(void)
|
|
33
33
|
{
|
|
34
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
35
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
34
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-1.txt");
|
|
35
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-1.html");
|
|
36
36
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
37
37
|
result = mtex2MML_output();
|
|
38
38
|
|
|
39
39
|
cl_assert_equal_s(fixture_mml, result);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
void
|
|
42
|
+
void test_mathjax__abovebelowaccents2(void)
|
|
43
43
|
{
|
|
44
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
45
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
44
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-2.txt");
|
|
45
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-2.html");
|
|
46
46
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
47
47
|
result = mtex2MML_output();
|
|
48
48
|
|
|
49
49
|
cl_assert_equal_s(fixture_mml, result);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
void
|
|
52
|
+
void test_mathjax__abovebelowaccents3(void)
|
|
53
53
|
{
|
|
54
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
55
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
54
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-3.txt");
|
|
55
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-3.html");
|
|
56
56
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
57
57
|
result = mtex2MML_output();
|
|
58
58
|
|
|
59
59
|
cl_assert_equal_s(fixture_mml, result);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
void
|
|
62
|
+
void test_mathjax__abovebelowbuildrel1(void)
|
|
63
63
|
{
|
|
64
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
65
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
64
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt");
|
|
65
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/buildrel-1.html");
|
|
66
66
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
67
67
|
result = mtex2MML_output();
|
|
68
68
|
|
|
69
69
|
cl_assert_equal_s(fixture_mml, result);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
void
|
|
72
|
+
void test_mathjax__abovebelowissue877(void)
|
|
73
73
|
{
|
|
74
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
75
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
74
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/issue877.txt");
|
|
75
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/issue877.html");
|
|
76
76
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
77
77
|
result = mtex2MML_output();
|
|
78
78
|
|
|
79
79
|
cl_assert_equal_s(fixture_mml, result);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
void
|
|
82
|
+
void test_mathjax__abovebelowissue937(void)
|
|
83
83
|
{
|
|
84
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
85
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
84
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/issue937.txt");
|
|
85
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/issue937.html");
|
|
86
86
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
87
87
|
result = mtex2MML_output();
|
|
88
88
|
|
|
89
89
|
cl_assert_equal_s(fixture_mml, result);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
void
|
|
92
|
+
void test_mathjax__abovebelowoverbrace1(void)
|
|
93
93
|
{
|
|
94
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
95
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
94
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt");
|
|
95
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overbrace-1.html");
|
|
96
96
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
97
97
|
result = mtex2MML_output();
|
|
98
98
|
|
|
99
99
|
cl_assert_equal_s(fixture_mml, result);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
void
|
|
102
|
+
void test_mathjax__abovebelowoverbracket1(void)
|
|
103
103
|
{
|
|
104
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
105
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
104
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt");
|
|
105
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overbracket-1.html");
|
|
106
106
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
107
107
|
result = mtex2MML_output();
|
|
108
108
|
|
|
109
109
|
cl_assert_equal_s(fixture_mml, result);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
void
|
|
112
|
+
void test_mathjax__abovebelowoverset1(void)
|
|
113
113
|
{
|
|
114
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
115
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
114
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overset-1.txt");
|
|
115
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overset-1.html");
|
|
116
116
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
117
117
|
result = mtex2MML_output();
|
|
118
118
|
|
|
119
119
|
cl_assert_equal_s(fixture_mml, result);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
void
|
|
122
|
+
void test_mathjax__abovebelowsideset1(void)
|
|
123
123
|
{
|
|
124
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
125
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
124
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt");
|
|
125
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/sideset-1.html");
|
|
126
126
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
127
127
|
result = mtex2MML_output();
|
|
128
128
|
|
|
129
129
|
cl_assert_equal_s(fixture_mml, result);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
void
|
|
132
|
+
void test_mathjax__abovebelowstackrel1(void)
|
|
133
133
|
{
|
|
134
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
135
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
134
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt");
|
|
135
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/stackrel-1.html");
|
|
136
136
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
137
137
|
result = mtex2MML_output();
|
|
138
138
|
|
|
139
139
|
cl_assert_equal_s(fixture_mml, result);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
void
|
|
142
|
+
void test_mathjax__abovebelowsubarray1(void)
|
|
143
143
|
{
|
|
144
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
145
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
144
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt");
|
|
145
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/subarray-1.html");
|
|
146
146
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
147
147
|
result = mtex2MML_output();
|
|
148
148
|
|
|
149
149
|
cl_assert_equal_s(fixture_mml, result);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
void
|
|
152
|
+
void test_mathjax__abovebelowsubstack1(void)
|
|
153
153
|
{
|
|
154
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
155
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
154
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/substack-1.txt");
|
|
155
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/substack-1.html");
|
|
156
156
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
157
157
|
result = mtex2MML_output();
|
|
158
158
|
|
|
159
159
|
cl_assert_equal_s(fixture_mml, result);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
void
|
|
162
|
+
void test_mathjax__abovebelowunderbrace1(void)
|
|
163
163
|
{
|
|
164
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
165
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
164
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt");
|
|
165
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underbrace-1.html");
|
|
166
166
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
167
167
|
result = mtex2MML_output();
|
|
168
168
|
|
|
169
169
|
cl_assert_equal_s(fixture_mml, result);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
void
|
|
172
|
+
void test_mathjax__abovebelowunderbracket1(void)
|
|
173
173
|
{
|
|
174
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
175
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
174
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt");
|
|
175
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underbracket-1.html");
|
|
176
176
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
177
177
|
result = mtex2MML_output();
|
|
178
178
|
|
|
179
179
|
cl_assert_equal_s(fixture_mml, result);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
void
|
|
182
|
+
void test_mathjax__abovebelowunderset1(void)
|
|
183
183
|
{
|
|
184
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
185
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
184
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underset-1.txt");
|
|
185
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underset-1.html");
|
|
186
186
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
187
187
|
result = mtex2MML_output();
|
|
188
188
|
|
|
189
189
|
cl_assert_equal_s(fixture_mml, result);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
void
|
|
192
|
+
void test_mathjax__arrowsarrows1(void)
|
|
193
193
|
{
|
|
194
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
195
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
194
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt");
|
|
195
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-1.html");
|
|
196
196
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
197
197
|
result = mtex2MML_output();
|
|
198
198
|
|
|
199
199
|
cl_assert_equal_s(fixture_mml, result);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
void
|
|
202
|
+
void test_mathjax__arrowsarrows2(void)
|
|
203
203
|
{
|
|
204
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
205
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
204
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt");
|
|
205
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-2.html");
|
|
206
206
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
207
207
|
result = mtex2MML_output();
|
|
208
208
|
|
|
209
209
|
cl_assert_equal_s(fixture_mml, result);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
void
|
|
212
|
+
void test_mathjax__arrowsarrows3(void)
|
|
213
213
|
{
|
|
214
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
215
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
214
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt");
|
|
215
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-3.html");
|
|
216
216
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
217
217
|
result = mtex2MML_output();
|
|
218
218
|
|
|
219
219
|
cl_assert_equal_s(fixture_mml, result);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
void
|
|
222
|
+
void test_mathjax__arrowsarrows4(void)
|
|
223
223
|
{
|
|
224
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
225
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
224
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt");
|
|
225
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-4.html");
|
|
226
226
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
227
227
|
result = mtex2MML_output();
|
|
228
228
|
|
|
229
229
|
cl_assert_equal_s(fixture_mml, result);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
void
|
|
232
|
+
void test_mathjax__arrowsarrows5(void)
|
|
233
233
|
{
|
|
234
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
235
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
234
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt");
|
|
235
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-5.html");
|
|
236
236
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
237
237
|
result = mtex2MML_output();
|
|
238
238
|
|
|
239
239
|
cl_assert_equal_s(fixture_mml, result);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
void
|
|
242
|
+
void test_mathjax__atomsmathinner1(void)
|
|
243
243
|
{
|
|
244
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
245
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
244
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt");
|
|
245
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathinner-1.html");
|
|
246
246
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
247
247
|
result = mtex2MML_output();
|
|
248
248
|
|
|
249
249
|
cl_assert_equal_s(fixture_mml, result);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
void
|
|
252
|
+
void test_mathjax__atomsmathop1a(void)
|
|
253
253
|
{
|
|
254
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
255
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
254
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt");
|
|
255
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathop-1a.html");
|
|
256
256
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
257
257
|
result = mtex2MML_output();
|
|
258
258
|
|
|
259
259
|
cl_assert_equal_s(fixture_mml, result);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
void
|
|
262
|
+
void test_mathjax__atomsmathop1b(void)
|
|
263
263
|
{
|
|
264
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
265
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
264
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt");
|
|
265
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathop-1b.html");
|
|
266
266
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
267
267
|
result = mtex2MML_output();
|
|
268
268
|
|
|
269
269
|
cl_assert_equal_s(fixture_mml, result);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
void
|
|
272
|
+
void test_mathjax__atomsmathopenclose1(void)
|
|
273
273
|
{
|
|
274
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
275
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
274
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt");
|
|
275
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html");
|
|
276
276
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
277
277
|
result = mtex2MML_output();
|
|
278
278
|
|
|
279
279
|
cl_assert_equal_s(fixture_mml, result);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
void
|
|
282
|
+
void test_mathjax__atomsmathord1(void)
|
|
283
283
|
{
|
|
284
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
285
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
284
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt");
|
|
285
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathord-1.html");
|
|
286
286
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
287
287
|
result = mtex2MML_output();
|
|
288
288
|
|
|
289
289
|
cl_assert_equal_s(fixture_mml, result);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
void
|
|
292
|
+
void test_mathjax__atomsmathpunct1(void)
|
|
293
293
|
{
|
|
294
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
295
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
294
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt");
|
|
295
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html");
|
|
296
296
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
297
297
|
result = mtex2MML_output();
|
|
298
298
|
|
|
299
299
|
cl_assert_equal_s(fixture_mml, result);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
void
|
|
302
|
+
void test_mathjax__atomsmathrel1(void)
|
|
303
303
|
{
|
|
304
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
305
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
304
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt");
|
|
305
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathrel-1.html");
|
|
306
306
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
307
307
|
result = mtex2MML_output();
|
|
308
308
|
|
|
309
309
|
cl_assert_equal_s(fixture_mml, result);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
void
|
|
312
|
+
void test_mathjax__basicoperatorsbackslashed1(void)
|
|
313
313
|
{
|
|
314
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
315
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
314
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt");
|
|
315
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html");
|
|
316
316
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
317
317
|
result = mtex2MML_output();
|
|
318
318
|
|
|
319
319
|
cl_assert_equal_s(fixture_mml, result);
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
void
|
|
322
|
+
void test_mathjax__basicoperatorsbasicoperators1(void)
|
|
323
323
|
{
|
|
324
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
325
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
324
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt");
|
|
325
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html");
|
|
326
326
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
327
327
|
result = mtex2MML_output();
|
|
328
328
|
|
|
329
329
|
cl_assert_equal_s(fixture_mml, result);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
void
|
|
332
|
+
void test_mathjax__basicoperatorsremap1(void)
|
|
333
333
|
{
|
|
334
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
335
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
334
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt");
|
|
335
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/remap-1.html");
|
|
336
336
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
337
337
|
result = mtex2MML_output();
|
|
338
338
|
|
|
339
339
|
cl_assert_equal_s(fixture_mml, result);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
void
|
|
342
|
+
void test_mathjax__colorscolor1(void)
|
|
343
343
|
{
|
|
344
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
345
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
344
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/color-1.txt");
|
|
345
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/color-1.html");
|
|
346
346
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
347
347
|
result = mtex2MML_output();
|
|
348
348
|
|
|
349
349
|
cl_assert_equal_s(fixture_mml, result);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
void
|
|
352
|
+
void test_mathjax__colorscolorbox1(void)
|
|
353
353
|
{
|
|
354
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
355
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
354
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt");
|
|
355
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/colorbox-1.html");
|
|
356
356
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
357
357
|
result = mtex2MML_output();
|
|
358
358
|
|
|
359
359
|
cl_assert_equal_s(fixture_mml, result);
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
void
|
|
362
|
+
void test_mathjax__colorsnamedcolors1(void)
|
|
363
363
|
{
|
|
364
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
365
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
364
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt");
|
|
365
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/namedcolors-1.html");
|
|
366
366
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
367
367
|
result = mtex2MML_output();
|
|
368
368
|
|
|
369
369
|
cl_assert_equal_s(fixture_mml, result);
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
void
|
|
372
|
+
void test_mathjax__delimitersbig1(void)
|
|
373
373
|
{
|
|
374
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
375
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
374
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-1.txt");
|
|
375
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-1.html");
|
|
376
376
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
377
377
|
result = mtex2MML_output();
|
|
378
378
|
|
|
379
379
|
cl_assert_equal_s(fixture_mml, result);
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
void
|
|
382
|
+
void test_mathjax__delimitersbig2(void)
|
|
383
383
|
{
|
|
384
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
385
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
384
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-2.txt");
|
|
385
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-2.html");
|
|
386
386
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
387
387
|
result = mtex2MML_output();
|
|
388
388
|
|
|
389
389
|
cl_assert_equal_s(fixture_mml, result);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
void
|
|
392
|
+
void test_mathjax__delimitersbig3(void)
|
|
393
393
|
{
|
|
394
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-
|
|
395
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-
|
|
394
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-3.txt");
|
|
395
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-3.html");
|
|
396
396
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
397
397
|
result = mtex2MML_output();
|
|
398
398
|
|
|
399
399
|
cl_assert_equal_s(fixture_mml, result);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
void
|
|
402
|
+
void test_mathjax__delimitersdelimiters1(void)
|
|
403
403
|
{
|
|
404
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/
|
|
405
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/
|
|
404
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt");
|
|
405
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html");
|
|
406
406
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
407
407
|
result = mtex2MML_output();
|
|
408
408
|
|
|
409
409
|
cl_assert_equal_s(fixture_mml, result);
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
void
|
|
412
|
+
void test_mathjax__delimitersdelimiters2(void)
|
|
413
413
|
{
|
|
414
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/
|
|
415
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/
|
|
414
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt");
|
|
415
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html");
|
|
416
416
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
417
417
|
result = mtex2MML_output();
|
|
418
418
|
|
|
@@ -429,20 +429,20 @@ void test_mathjax__delimitersissue775(void)
|
|
|
429
429
|
cl_assert_equal_s(fixture_mml, result);
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
void
|
|
432
|
+
void test_mathjax__delimitersissue7761a(void)
|
|
433
433
|
{
|
|
434
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/
|
|
435
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/
|
|
434
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt");
|
|
435
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html");
|
|
436
436
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
437
437
|
result = mtex2MML_output();
|
|
438
438
|
|
|
439
439
|
cl_assert_equal_s(fixture_mml, result);
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
void
|
|
442
|
+
void test_mathjax__delimitersissue7761b(void)
|
|
443
443
|
{
|
|
444
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-
|
|
445
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-
|
|
444
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt");
|
|
445
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html");
|
|
446
446
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
447
447
|
result = mtex2MML_output();
|
|
448
448
|
|
|
@@ -459,10 +459,10 @@ void test_mathjax__delimitersissue7762(void)
|
|
|
459
459
|
cl_assert_equal_s(fixture_mml, result);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
void
|
|
462
|
+
void test_mathjax__delimitersissue7763(void)
|
|
463
463
|
{
|
|
464
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-
|
|
465
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-
|
|
464
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt");
|
|
465
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-3.html");
|
|
466
466
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
467
467
|
result = mtex2MML_output();
|
|
468
468
|
|
|
@@ -479,680 +479,680 @@ void test_mathjax__delimitersissue7764(void)
|
|
|
479
479
|
cl_assert_equal_s(fixture_mml, result);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
void
|
|
482
|
+
void test_mathjax__delimitersissue7765(void)
|
|
483
483
|
{
|
|
484
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/
|
|
485
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/
|
|
484
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt");
|
|
485
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-5.html");
|
|
486
486
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
487
487
|
result = mtex2MML_output();
|
|
488
488
|
|
|
489
489
|
cl_assert_equal_s(fixture_mml, result);
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
void
|
|
492
|
+
void test_mathjax__delimitersleftright1(void)
|
|
493
493
|
{
|
|
494
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/
|
|
495
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/
|
|
494
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt");
|
|
495
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/left-right-1.html");
|
|
496
496
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
497
497
|
result = mtex2MML_output();
|
|
498
498
|
|
|
499
499
|
cl_assert_equal_s(fixture_mml, result);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
void
|
|
502
|
+
void test_mathjax__environmentsalign1a(void)
|
|
503
503
|
{
|
|
504
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
505
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
504
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/align-1a.txt");
|
|
505
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/align-1a.html");
|
|
506
506
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
507
507
|
result = mtex2MML_output();
|
|
508
508
|
|
|
509
509
|
cl_assert_equal_s(fixture_mml, result);
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
void
|
|
512
|
+
void test_mathjax__environmentsalign1b(void)
|
|
513
513
|
{
|
|
514
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
515
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
514
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/align-1b.txt");
|
|
515
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/align-1b.html");
|
|
516
516
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
517
517
|
result = mtex2MML_output();
|
|
518
518
|
|
|
519
519
|
cl_assert_equal_s(fixture_mml, result);
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
void
|
|
522
|
+
void test_mathjax__environmentsalignat1a(void)
|
|
523
523
|
{
|
|
524
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
525
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
524
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt");
|
|
525
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignat-1a.html");
|
|
526
526
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
527
527
|
result = mtex2MML_output();
|
|
528
528
|
|
|
529
529
|
cl_assert_equal_s(fixture_mml, result);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
void
|
|
532
|
+
void test_mathjax__environmentsalignat1b(void)
|
|
533
533
|
{
|
|
534
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
535
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
534
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt");
|
|
535
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignat-1b.html");
|
|
536
536
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
537
537
|
result = mtex2MML_output();
|
|
538
538
|
|
|
539
539
|
cl_assert_equal_s(fixture_mml, result);
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
void
|
|
542
|
+
void test_mathjax__environmentsaligned1(void)
|
|
543
543
|
{
|
|
544
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
545
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
544
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/aligned-1.txt");
|
|
545
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/aligned-1.html");
|
|
546
546
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
547
547
|
result = mtex2MML_output();
|
|
548
548
|
|
|
549
549
|
cl_assert_equal_s(fixture_mml, result);
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
-
void
|
|
552
|
+
void test_mathjax__environmentsaligned2(void)
|
|
553
553
|
{
|
|
554
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
555
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
554
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/aligned-2.txt");
|
|
555
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/aligned-2.html");
|
|
556
556
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
557
557
|
result = mtex2MML_output();
|
|
558
558
|
|
|
559
559
|
cl_assert_equal_s(fixture_mml, result);
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
void
|
|
562
|
+
void test_mathjax__environmentsalignedat1(void)
|
|
563
563
|
{
|
|
564
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
565
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
564
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt");
|
|
565
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignedat-1.html");
|
|
566
566
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
567
567
|
result = mtex2MML_output();
|
|
568
568
|
|
|
569
569
|
cl_assert_equal_s(fixture_mml, result);
|
|
570
570
|
}
|
|
571
571
|
|
|
572
|
-
void
|
|
572
|
+
void test_mathjax__environmentseqalign1(void)
|
|
573
573
|
{
|
|
574
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
575
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
574
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt");
|
|
575
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqalign-1.html");
|
|
576
576
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
577
577
|
result = mtex2MML_output();
|
|
578
578
|
|
|
579
579
|
cl_assert_equal_s(fixture_mml, result);
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
void
|
|
582
|
+
void test_mathjax__environmentseqalignno1(void)
|
|
583
583
|
{
|
|
584
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
585
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
584
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt");
|
|
585
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqalignno-1.html");
|
|
586
586
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
587
587
|
result = mtex2MML_output();
|
|
588
588
|
|
|
589
589
|
cl_assert_equal_s(fixture_mml, result);
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
void
|
|
592
|
+
void test_mathjax__environmentseqnarray1a(void)
|
|
593
593
|
{
|
|
594
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
595
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
594
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt");
|
|
595
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html");
|
|
596
596
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
597
597
|
result = mtex2MML_output();
|
|
598
598
|
|
|
599
599
|
cl_assert_equal_s(fixture_mml, result);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
void
|
|
602
|
+
void test_mathjax__environmentseqnarray1b(void)
|
|
603
603
|
{
|
|
604
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
605
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
604
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt");
|
|
605
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html");
|
|
606
606
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
607
607
|
result = mtex2MML_output();
|
|
608
608
|
|
|
609
609
|
cl_assert_equal_s(fixture_mml, result);
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
void
|
|
612
|
+
void test_mathjax__environmentsequation1(void)
|
|
613
613
|
{
|
|
614
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
615
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
614
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/equation-1.txt");
|
|
615
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/equation-1.html");
|
|
616
616
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
617
617
|
result = mtex2MML_output();
|
|
618
618
|
|
|
619
619
|
cl_assert_equal_s(fixture_mml, result);
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
void
|
|
622
|
+
void test_mathjax__environmentsequation2(void)
|
|
623
623
|
{
|
|
624
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
625
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
624
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/equation-2.txt");
|
|
625
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/equation-2.html");
|
|
626
626
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
627
627
|
result = mtex2MML_output();
|
|
628
628
|
|
|
629
629
|
cl_assert_equal_s(fixture_mml, result);
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
void
|
|
632
|
+
void test_mathjax__environmentsgather1a(void)
|
|
633
633
|
{
|
|
634
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
635
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
634
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gather-1a.txt");
|
|
635
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gather-1a.html");
|
|
636
636
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
637
637
|
result = mtex2MML_output();
|
|
638
638
|
|
|
639
639
|
cl_assert_equal_s(fixture_mml, result);
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
void
|
|
642
|
+
void test_mathjax__environmentsgather1b(void)
|
|
643
643
|
{
|
|
644
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
645
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
644
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gather-1b.txt");
|
|
645
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gather-1b.html");
|
|
646
646
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
647
647
|
result = mtex2MML_output();
|
|
648
648
|
|
|
649
649
|
cl_assert_equal_s(fixture_mml, result);
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
void
|
|
652
|
+
void test_mathjax__environmentsgathered1(void)
|
|
653
653
|
{
|
|
654
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
655
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
654
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gathered-1.txt");
|
|
655
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gathered-1.html");
|
|
656
656
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
657
657
|
result = mtex2MML_output();
|
|
658
658
|
|
|
659
659
|
cl_assert_equal_s(fixture_mml, result);
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
void
|
|
662
|
+
void test_mathjax__environmentsgathered2(void)
|
|
663
663
|
{
|
|
664
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
665
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
664
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gathered-2.txt");
|
|
665
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gathered-2.html");
|
|
666
666
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
667
667
|
result = mtex2MML_output();
|
|
668
668
|
|
|
669
669
|
cl_assert_equal_s(fixture_mml, result);
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
void
|
|
672
|
+
void test_mathjax__environmentsissue9821a(void)
|
|
673
673
|
{
|
|
674
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
675
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
674
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt");
|
|
675
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-1a.html");
|
|
676
676
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
677
677
|
result = mtex2MML_output();
|
|
678
678
|
|
|
679
679
|
cl_assert_equal_s(fixture_mml, result);
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
void
|
|
682
|
+
void test_mathjax__environmentsissue9821b(void)
|
|
683
683
|
{
|
|
684
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
685
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
684
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt");
|
|
685
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-1b.html");
|
|
686
686
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
687
687
|
result = mtex2MML_output();
|
|
688
688
|
|
|
689
689
|
cl_assert_equal_s(fixture_mml, result);
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
void
|
|
692
|
+
void test_mathjax__environmentsissue9822a(void)
|
|
693
693
|
{
|
|
694
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
695
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
694
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt");
|
|
695
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-2a.html");
|
|
696
696
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
697
697
|
result = mtex2MML_output();
|
|
698
698
|
|
|
699
699
|
cl_assert_equal_s(fixture_mml, result);
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
void
|
|
702
|
+
void test_mathjax__environmentsissue9822b(void)
|
|
703
703
|
{
|
|
704
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
705
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
704
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt");
|
|
705
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-2b.html");
|
|
706
706
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
707
707
|
result = mtex2MML_output();
|
|
708
708
|
|
|
709
709
|
cl_assert_equal_s(fixture_mml, result);
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
void
|
|
712
|
+
void test_mathjax__environmentsissue9823a(void)
|
|
713
713
|
{
|
|
714
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
715
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
714
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt");
|
|
715
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-3a.html");
|
|
716
716
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
717
717
|
result = mtex2MML_output();
|
|
718
718
|
|
|
719
719
|
cl_assert_equal_s(fixture_mml, result);
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
void
|
|
722
|
+
void test_mathjax__environmentsissue9823b(void)
|
|
723
723
|
{
|
|
724
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
725
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
724
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt");
|
|
725
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-3b.html");
|
|
726
726
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
727
727
|
result = mtex2MML_output();
|
|
728
728
|
|
|
729
729
|
cl_assert_equal_s(fixture_mml, result);
|
|
730
730
|
}
|
|
731
731
|
|
|
732
|
-
void
|
|
732
|
+
void test_mathjax__environmentsmultline1a(void)
|
|
733
733
|
{
|
|
734
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
735
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
734
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/multline-1a.txt");
|
|
735
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/multline-1a.html");
|
|
736
736
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
737
737
|
result = mtex2MML_output();
|
|
738
738
|
|
|
739
739
|
cl_assert_equal_s(fixture_mml, result);
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
void
|
|
742
|
+
void test_mathjax__environmentsmultline1b(void)
|
|
743
743
|
{
|
|
744
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
745
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
744
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/multline-1b.txt");
|
|
745
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/multline-1b.html");
|
|
746
746
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
747
747
|
result = mtex2MML_output();
|
|
748
748
|
|
|
749
749
|
cl_assert_equal_s(fixture_mml, result);
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
-
void
|
|
752
|
+
void test_mathjax__environmentssplit1(void)
|
|
753
753
|
{
|
|
754
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
755
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
754
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/split-1.txt");
|
|
755
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/split-1.html");
|
|
756
756
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
757
757
|
result = mtex2MML_output();
|
|
758
758
|
|
|
759
759
|
cl_assert_equal_s(fixture_mml, result);
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
-
void
|
|
762
|
+
void test_mathjax__fracabove1(void)
|
|
763
763
|
{
|
|
764
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
765
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
764
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/above-1.txt");
|
|
765
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/above-1.html");
|
|
766
766
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
767
767
|
result = mtex2MML_output();
|
|
768
768
|
|
|
769
769
|
cl_assert_equal_s(fixture_mml, result);
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
-
void
|
|
772
|
+
void test_mathjax__fracabovewithdelims1(void)
|
|
773
773
|
{
|
|
774
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
775
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
774
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt");
|
|
775
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html");
|
|
776
776
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
777
777
|
result = mtex2MML_output();
|
|
778
778
|
|
|
779
779
|
cl_assert_equal_s(fixture_mml, result);
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
-
void
|
|
782
|
+
void test_mathjax__fracatop1(void)
|
|
783
783
|
{
|
|
784
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
785
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
784
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/atop-1.txt");
|
|
785
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/atop-1.html");
|
|
786
786
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
787
787
|
result = mtex2MML_output();
|
|
788
788
|
|
|
789
789
|
cl_assert_equal_s(fixture_mml, result);
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
void
|
|
792
|
+
void test_mathjax__fracatopwithdelims1(void)
|
|
793
793
|
{
|
|
794
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
795
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
794
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt");
|
|
795
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html");
|
|
796
796
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
797
797
|
result = mtex2MML_output();
|
|
798
798
|
|
|
799
799
|
cl_assert_equal_s(fixture_mml, result);
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
-
void
|
|
802
|
+
void test_mathjax__fracbinom1(void)
|
|
803
803
|
{
|
|
804
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
805
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
804
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/binom-1.txt");
|
|
805
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/binom-1.html");
|
|
806
806
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
807
807
|
result = mtex2MML_output();
|
|
808
808
|
|
|
809
809
|
cl_assert_equal_s(fixture_mml, result);
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
void
|
|
812
|
+
void test_mathjax__fracbrace1(void)
|
|
813
813
|
{
|
|
814
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
815
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
814
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/brace-1.txt");
|
|
815
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/brace-1.html");
|
|
816
816
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
817
817
|
result = mtex2MML_output();
|
|
818
818
|
|
|
819
819
|
cl_assert_equal_s(fixture_mml, result);
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
void
|
|
822
|
+
void test_mathjax__fracbrack1(void)
|
|
823
823
|
{
|
|
824
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
825
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
824
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/brack-1.txt");
|
|
825
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/brack-1.html");
|
|
826
826
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
827
827
|
result = mtex2MML_output();
|
|
828
828
|
|
|
829
829
|
cl_assert_equal_s(fixture_mml, result);
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
void
|
|
832
|
+
void test_mathjax__fraccfrac1(void)
|
|
833
833
|
{
|
|
834
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
835
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
834
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt");
|
|
835
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/cfrac-1.html");
|
|
836
836
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
837
837
|
result = mtex2MML_output();
|
|
838
838
|
|
|
839
839
|
cl_assert_equal_s(fixture_mml, result);
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
-
void
|
|
842
|
+
void test_mathjax__fracchoose1(void)
|
|
843
843
|
{
|
|
844
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
845
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
844
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/choose-1.txt");
|
|
845
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/choose-1.html");
|
|
846
846
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
847
847
|
result = mtex2MML_output();
|
|
848
848
|
|
|
849
849
|
cl_assert_equal_s(fixture_mml, result);
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
void
|
|
852
|
+
void test_mathjax__fracdbinom1(void)
|
|
853
853
|
{
|
|
854
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
855
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
854
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt");
|
|
855
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/dbinom-1.html");
|
|
856
856
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
857
857
|
result = mtex2MML_output();
|
|
858
858
|
|
|
859
859
|
cl_assert_equal_s(fixture_mml, result);
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
void
|
|
862
|
+
void test_mathjax__fracdfrac1(void)
|
|
863
863
|
{
|
|
864
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
865
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
864
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt");
|
|
865
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/dfrac-1.html");
|
|
866
866
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
867
867
|
result = mtex2MML_output();
|
|
868
868
|
|
|
869
869
|
cl_assert_equal_s(fixture_mml, result);
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
-
void
|
|
872
|
+
void test_mathjax__fracfrac1a(void)
|
|
873
873
|
{
|
|
874
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
875
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
874
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/frac-1a.txt");
|
|
875
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/frac-1a.html");
|
|
876
876
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
877
877
|
result = mtex2MML_output();
|
|
878
878
|
|
|
879
879
|
cl_assert_equal_s(fixture_mml, result);
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
void
|
|
882
|
+
void test_mathjax__fracfrac1b(void)
|
|
883
883
|
{
|
|
884
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
885
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
884
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/frac-1b.txt");
|
|
885
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/frac-1b.html");
|
|
886
886
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
887
887
|
result = mtex2MML_output();
|
|
888
888
|
|
|
889
889
|
cl_assert_equal_s(fixture_mml, result);
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
void
|
|
892
|
+
void test_mathjax__fracgenfrac1(void)
|
|
893
893
|
{
|
|
894
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
895
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
894
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt");
|
|
895
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/genfrac-1.html");
|
|
896
896
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
897
897
|
result = mtex2MML_output();
|
|
898
898
|
|
|
899
899
|
cl_assert_equal_s(fixture_mml, result);
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
void
|
|
902
|
+
void test_mathjax__fracissue969(void)
|
|
903
903
|
{
|
|
904
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
905
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
904
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/issue969.txt");
|
|
905
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/issue969.html");
|
|
906
906
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
907
907
|
result = mtex2MML_output();
|
|
908
908
|
|
|
909
909
|
cl_assert_equal_s(fixture_mml, result);
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
void
|
|
912
|
+
void test_mathjax__fracoverwithdelims1(void)
|
|
913
913
|
{
|
|
914
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
915
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
914
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt");
|
|
915
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html");
|
|
916
916
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
917
917
|
result = mtex2MML_output();
|
|
918
918
|
|
|
919
919
|
cl_assert_equal_s(fixture_mml, result);
|
|
920
920
|
}
|
|
921
921
|
|
|
922
|
-
void
|
|
922
|
+
void test_mathjax__fractbinom1(void)
|
|
923
923
|
{
|
|
924
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
925
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
924
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt");
|
|
925
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/tbinom-1.html");
|
|
926
926
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
927
927
|
result = mtex2MML_output();
|
|
928
928
|
|
|
929
929
|
cl_assert_equal_s(fixture_mml, result);
|
|
930
930
|
}
|
|
931
931
|
|
|
932
|
-
void
|
|
932
|
+
void test_mathjax__fractfrac1(void)
|
|
933
933
|
{
|
|
934
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
935
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
934
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt");
|
|
935
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/tfrac-1.html");
|
|
936
936
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
937
937
|
result = mtex2MML_output();
|
|
938
938
|
|
|
939
939
|
cl_assert_equal_s(fixture_mml, result);
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
void
|
|
942
|
+
void test_mathjax__issuesissue11522(void)
|
|
943
943
|
{
|
|
944
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
945
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
944
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt");
|
|
945
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue1152-2.html");
|
|
946
946
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
947
947
|
result = mtex2MML_output();
|
|
948
948
|
|
|
949
949
|
cl_assert_equal_s(fixture_mml, result);
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
-
void
|
|
952
|
+
void test_mathjax__issuesissue375(void)
|
|
953
953
|
{
|
|
954
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
955
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
954
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue375.txt");
|
|
955
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue375.html");
|
|
956
956
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
957
957
|
result = mtex2MML_output();
|
|
958
958
|
|
|
959
959
|
cl_assert_equal_s(fixture_mml, result);
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
void
|
|
962
|
+
void test_mathjax__issuesissue856(void)
|
|
963
963
|
{
|
|
964
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
965
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
964
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue856.txt");
|
|
965
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue856.html");
|
|
966
966
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
967
967
|
result = mtex2MML_output();
|
|
968
968
|
|
|
969
969
|
cl_assert_equal_s(fixture_mml, result);
|
|
970
970
|
}
|
|
971
971
|
|
|
972
|
-
void
|
|
972
|
+
void test_mathjax__issuesissue9011a(void)
|
|
973
973
|
{
|
|
974
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
975
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
974
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt");
|
|
975
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1a.html");
|
|
976
976
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
977
977
|
result = mtex2MML_output();
|
|
978
978
|
|
|
979
979
|
cl_assert_equal_s(fixture_mml, result);
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
void
|
|
982
|
+
void test_mathjax__issuesissue9011b(void)
|
|
983
983
|
{
|
|
984
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
985
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
984
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt");
|
|
985
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1b.html");
|
|
986
986
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
987
987
|
result = mtex2MML_output();
|
|
988
988
|
|
|
989
989
|
cl_assert_equal_s(fixture_mml, result);
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
void
|
|
992
|
+
void test_mathjax__issuesissue9011c(void)
|
|
993
993
|
{
|
|
994
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
995
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
994
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt");
|
|
995
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1c.html");
|
|
996
996
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
997
997
|
result = mtex2MML_output();
|
|
998
998
|
|
|
999
999
|
cl_assert_equal_s(fixture_mml, result);
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
void
|
|
1002
|
+
void test_mathjax__issuesissue9011d(void)
|
|
1003
1003
|
{
|
|
1004
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1005
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1004
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt");
|
|
1005
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1d.html");
|
|
1006
1006
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1007
1007
|
result = mtex2MML_output();
|
|
1008
1008
|
|
|
1009
1009
|
cl_assert_equal_s(fixture_mml, result);
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
void
|
|
1012
|
+
void test_mathjax__layoutboxes1(void)
|
|
1013
1013
|
{
|
|
1014
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1015
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1014
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/boxes-1.txt");
|
|
1015
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/boxes-1.html");
|
|
1016
1016
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1017
1017
|
result = mtex2MML_output();
|
|
1018
1018
|
|
|
1019
1019
|
cl_assert_equal_s(fixture_mml, result);
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
|
-
void
|
|
1022
|
+
void test_mathjax__layoutkern1a(void)
|
|
1023
1023
|
{
|
|
1024
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1025
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1024
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/kern-1a.txt");
|
|
1025
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/kern-1a.html");
|
|
1026
1026
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1027
1027
|
result = mtex2MML_output();
|
|
1028
1028
|
|
|
1029
1029
|
cl_assert_equal_s(fixture_mml, result);
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
|
-
void
|
|
1032
|
+
void test_mathjax__layoutkern1b(void)
|
|
1033
1033
|
{
|
|
1034
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1035
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1034
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/kern-1b.txt");
|
|
1035
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/kern-1b.html");
|
|
1036
1036
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1037
1037
|
result = mtex2MML_output();
|
|
1038
1038
|
|
|
1039
1039
|
cl_assert_equal_s(fixture_mml, result);
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
|
-
void
|
|
1042
|
+
void test_mathjax__layoutllap1(void)
|
|
1043
1043
|
{
|
|
1044
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1045
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1044
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/llap-1.txt");
|
|
1045
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/llap-1.html");
|
|
1046
1046
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1047
1047
|
result = mtex2MML_output();
|
|
1048
1048
|
|
|
1049
1049
|
cl_assert_equal_s(fixture_mml, result);
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
void
|
|
1052
|
+
void test_mathjax__layoutlower1(void)
|
|
1053
1053
|
{
|
|
1054
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1055
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1054
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/lower-1.txt");
|
|
1055
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/lower-1.html");
|
|
1056
1056
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1057
1057
|
result = mtex2MML_output();
|
|
1058
1058
|
|
|
1059
1059
|
cl_assert_equal_s(fixture_mml, result);
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
|
-
void
|
|
1062
|
+
void test_mathjax__layoutmathstrut1(void)
|
|
1063
1063
|
{
|
|
1064
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1065
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1064
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt");
|
|
1065
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/mathstrut-1.html");
|
|
1066
1066
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1067
1067
|
result = mtex2MML_output();
|
|
1068
1068
|
|
|
1069
1069
|
cl_assert_equal_s(fixture_mml, result);
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
1072
|
-
void
|
|
1072
|
+
void test_mathjax__layoutmoveleft1(void)
|
|
1073
1073
|
{
|
|
1074
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1075
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1074
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt");
|
|
1075
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/moveleft-1.html");
|
|
1076
1076
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1077
1077
|
result = mtex2MML_output();
|
|
1078
1078
|
|
|
1079
1079
|
cl_assert_equal_s(fixture_mml, result);
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
-
void
|
|
1082
|
+
void test_mathjax__layoutmoveright1(void)
|
|
1083
1083
|
{
|
|
1084
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1085
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1084
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/moveright-1.txt");
|
|
1085
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/moveright-1.html");
|
|
1086
1086
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1087
1087
|
result = mtex2MML_output();
|
|
1088
1088
|
|
|
1089
1089
|
cl_assert_equal_s(fixture_mml, result);
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
void
|
|
1092
|
+
void test_mathjax__layoutnewline1(void)
|
|
1093
1093
|
{
|
|
1094
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1095
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1094
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/newline-1.txt");
|
|
1095
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/newline-1.html");
|
|
1096
1096
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1097
1097
|
result = mtex2MML_output();
|
|
1098
1098
|
|
|
1099
1099
|
cl_assert_equal_s(fixture_mml, result);
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
-
void
|
|
1102
|
+
void test_mathjax__layoutphantom1(void)
|
|
1103
1103
|
{
|
|
1104
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1105
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1104
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/phantom-1.txt");
|
|
1105
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/phantom-1.html");
|
|
1106
1106
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1107
1107
|
result = mtex2MML_output();
|
|
1108
1108
|
|
|
1109
1109
|
cl_assert_equal_s(fixture_mml, result);
|
|
1110
1110
|
}
|
|
1111
1111
|
|
|
1112
|
-
void
|
|
1112
|
+
void test_mathjax__layoutraise1(void)
|
|
1113
1113
|
{
|
|
1114
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1115
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1114
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/raise-1.txt");
|
|
1115
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/raise-1.html");
|
|
1116
1116
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1117
1117
|
result = mtex2MML_output();
|
|
1118
1118
|
|
|
1119
1119
|
cl_assert_equal_s(fixture_mml, result);
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
|
-
void
|
|
1122
|
+
void test_mathjax__layoutrlap1(void)
|
|
1123
1123
|
{
|
|
1124
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1125
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1124
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/rlap-1.txt");
|
|
1125
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/rlap-1.html");
|
|
1126
1126
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1127
1127
|
result = mtex2MML_output();
|
|
1128
1128
|
|
|
1129
1129
|
cl_assert_equal_s(fixture_mml, result);
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
void
|
|
1132
|
+
void test_mathjax__layoutskip1a(void)
|
|
1133
1133
|
{
|
|
1134
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1135
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1134
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/skip-1a.txt");
|
|
1135
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/skip-1a.html");
|
|
1136
1136
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1137
1137
|
result = mtex2MML_output();
|
|
1138
1138
|
|
|
1139
1139
|
cl_assert_equal_s(fixture_mml, result);
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
|
-
void
|
|
1142
|
+
void test_mathjax__layoutskip1b(void)
|
|
1143
1143
|
{
|
|
1144
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1145
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1144
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/skip-1b.txt");
|
|
1145
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/skip-1b.html");
|
|
1146
1146
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1147
1147
|
result = mtex2MML_output();
|
|
1148
1148
|
|
|
1149
1149
|
cl_assert_equal_s(fixture_mml, result);
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
|
-
void
|
|
1152
|
+
void test_mathjax__layoutsmash1(void)
|
|
1153
1153
|
{
|
|
1154
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1155
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1154
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/smash-1.txt");
|
|
1155
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/smash-1.html");
|
|
1156
1156
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1157
1157
|
result = mtex2MML_output();
|
|
1158
1158
|
|
|
@@ -1169,870 +1169,870 @@ void test_mathjax__layoutspaces1(void)
|
|
|
1169
1169
|
cl_assert_equal_s(fixture_mml, result);
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
|
-
void
|
|
1172
|
+
void test_mathjax__layoutstrut1(void)
|
|
1173
1173
|
{
|
|
1174
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1175
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1174
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/strut-1.txt");
|
|
1175
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/strut-1.html");
|
|
1176
1176
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1177
1177
|
result = mtex2MML_output();
|
|
1178
1178
|
|
|
1179
1179
|
cl_assert_equal_s(fixture_mml, result);
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
|
-
void
|
|
1182
|
+
void test_mathjax__layoutvcenter1(void)
|
|
1183
1183
|
{
|
|
1184
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/
|
|
1185
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/
|
|
1184
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt");
|
|
1185
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/vcenter-1.html");
|
|
1186
1186
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1187
1187
|
result = mtex2MML_output();
|
|
1188
1188
|
|
|
1189
1189
|
cl_assert_equal_s(fixture_mml, result);
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
|
-
void
|
|
1192
|
+
void test_mathjax__lettersgreek1(void)
|
|
1193
1193
|
{
|
|
1194
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1195
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1194
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-1.txt");
|
|
1195
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-1.html");
|
|
1196
1196
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1197
1197
|
result = mtex2MML_output();
|
|
1198
1198
|
|
|
1199
1199
|
cl_assert_equal_s(fixture_mml, result);
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
-
void
|
|
1202
|
+
void test_mathjax__lettersgreek2(void)
|
|
1203
1203
|
{
|
|
1204
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1205
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1204
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-2.txt");
|
|
1205
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-2.html");
|
|
1206
1206
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1207
1207
|
result = mtex2MML_output();
|
|
1208
1208
|
|
|
1209
1209
|
cl_assert_equal_s(fixture_mml, result);
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
|
-
void
|
|
1212
|
+
void test_mathjax__lettersgreek3(void)
|
|
1213
1213
|
{
|
|
1214
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1215
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1214
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-3.txt");
|
|
1215
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-3.html");
|
|
1216
1216
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1217
1217
|
result = mtex2MML_output();
|
|
1218
1218
|
|
|
1219
1219
|
cl_assert_equal_s(fixture_mml, result);
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
|
-
void
|
|
1222
|
+
void test_mathjax__lettersgreek4(void)
|
|
1223
1223
|
{
|
|
1224
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1225
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1224
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-4.txt");
|
|
1225
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-4.html");
|
|
1226
1226
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1227
1227
|
result = mtex2MML_output();
|
|
1228
1228
|
|
|
1229
1229
|
cl_assert_equal_s(fixture_mml, result);
|
|
1230
1230
|
}
|
|
1231
1231
|
|
|
1232
|
-
void
|
|
1232
|
+
void test_mathjax__lettershebrew1(void)
|
|
1233
1233
|
{
|
|
1234
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1235
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1234
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt");
|
|
1235
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/hebrew-1.html");
|
|
1236
1236
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1237
1237
|
result = mtex2MML_output();
|
|
1238
1238
|
|
|
1239
1239
|
cl_assert_equal_s(fixture_mml, result);
|
|
1240
1240
|
}
|
|
1241
1241
|
|
|
1242
|
-
void
|
|
1242
|
+
void test_mathjax__mathvariantBbb1(void)
|
|
1243
1243
|
{
|
|
1244
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1245
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1244
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt");
|
|
1245
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html");
|
|
1246
1246
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1247
1247
|
result = mtex2MML_output();
|
|
1248
1248
|
|
|
1249
1249
|
cl_assert_equal_s(fixture_mml, result);
|
|
1250
1250
|
}
|
|
1251
1251
|
|
|
1252
|
-
void
|
|
1252
|
+
void test_mathjax__mathvariantbf1(void)
|
|
1253
1253
|
{
|
|
1254
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1255
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1254
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt");
|
|
1255
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/bf-1.html");
|
|
1256
1256
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1257
1257
|
result = mtex2MML_output();
|
|
1258
1258
|
|
|
1259
1259
|
cl_assert_equal_s(fixture_mml, result);
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
-
void
|
|
1262
|
+
void test_mathjax__mathvariantboldsymbol1(void)
|
|
1263
1263
|
{
|
|
1264
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1265
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1264
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt");
|
|
1265
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html");
|
|
1266
1266
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1267
1267
|
result = mtex2MML_output();
|
|
1268
1268
|
|
|
1269
1269
|
cl_assert_equal_s(fixture_mml, result);
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
|
-
void
|
|
1272
|
+
void test_mathjax__mathvariantcal1(void)
|
|
1273
1273
|
{
|
|
1274
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1275
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1274
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt");
|
|
1275
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/cal-1.html");
|
|
1276
1276
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1277
1277
|
result = mtex2MML_output();
|
|
1278
1278
|
|
|
1279
1279
|
cl_assert_equal_s(fixture_mml, result);
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
|
-
void
|
|
1282
|
+
void test_mathjax__mathvariantfrak1(void)
|
|
1283
1283
|
{
|
|
1284
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1285
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1284
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt");
|
|
1285
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/frak-1.html");
|
|
1286
1286
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1287
1287
|
result = mtex2MML_output();
|
|
1288
1288
|
|
|
1289
1289
|
cl_assert_equal_s(fixture_mml, result);
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
|
-
void
|
|
1292
|
+
void test_mathjax__mathvariantit1(void)
|
|
1293
1293
|
{
|
|
1294
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1295
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1294
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt");
|
|
1295
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/it-1.html");
|
|
1296
1296
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1297
1297
|
result = mtex2MML_output();
|
|
1298
1298
|
|
|
1299
1299
|
cl_assert_equal_s(fixture_mml, result);
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
|
-
void
|
|
1302
|
+
void test_mathjax__mathvariantmathbb1(void)
|
|
1303
1303
|
{
|
|
1304
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1305
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1304
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt");
|
|
1305
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html");
|
|
1306
1306
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1307
1307
|
result = mtex2MML_output();
|
|
1308
1308
|
|
|
1309
1309
|
cl_assert_equal_s(fixture_mml, result);
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
|
-
void
|
|
1312
|
+
void test_mathjax__mathvariantmathbf1a(void)
|
|
1313
1313
|
{
|
|
1314
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1315
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1314
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt");
|
|
1315
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html");
|
|
1316
1316
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1317
1317
|
result = mtex2MML_output();
|
|
1318
1318
|
|
|
1319
1319
|
cl_assert_equal_s(fixture_mml, result);
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
|
-
void
|
|
1322
|
+
void test_mathjax__mathvariantmathbf1b(void)
|
|
1323
1323
|
{
|
|
1324
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1325
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1324
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt");
|
|
1325
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html");
|
|
1326
1326
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1327
1327
|
result = mtex2MML_output();
|
|
1328
1328
|
|
|
1329
1329
|
cl_assert_equal_s(fixture_mml, result);
|
|
1330
1330
|
}
|
|
1331
1331
|
|
|
1332
|
-
void
|
|
1332
|
+
void test_mathjax__mathvariantmathbf2(void)
|
|
1333
1333
|
{
|
|
1334
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1335
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1334
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt");
|
|
1335
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html");
|
|
1336
1336
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1337
1337
|
result = mtex2MML_output();
|
|
1338
1338
|
|
|
1339
1339
|
cl_assert_equal_s(fixture_mml, result);
|
|
1340
1340
|
}
|
|
1341
1341
|
|
|
1342
|
-
void
|
|
1342
|
+
void test_mathjax__mathvariantmathcal1(void)
|
|
1343
1343
|
{
|
|
1344
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1345
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1344
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt");
|
|
1345
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html");
|
|
1346
1346
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1347
1347
|
result = mtex2MML_output();
|
|
1348
1348
|
|
|
1349
1349
|
cl_assert_equal_s(fixture_mml, result);
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
|
-
void
|
|
1352
|
+
void test_mathjax__mathvariantmathfrak1(void)
|
|
1353
1353
|
{
|
|
1354
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1355
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1354
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt");
|
|
1355
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html");
|
|
1356
1356
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1357
1357
|
result = mtex2MML_output();
|
|
1358
1358
|
|
|
1359
1359
|
cl_assert_equal_s(fixture_mml, result);
|
|
1360
1360
|
}
|
|
1361
1361
|
|
|
1362
|
-
void
|
|
1362
|
+
void test_mathjax__mathvariantmathit1(void)
|
|
1363
1363
|
{
|
|
1364
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1365
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1364
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt");
|
|
1365
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html");
|
|
1366
1366
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1367
1367
|
result = mtex2MML_output();
|
|
1368
1368
|
|
|
1369
1369
|
cl_assert_equal_s(fixture_mml, result);
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
-
void
|
|
1372
|
+
void test_mathjax__mathvariantmathrm1(void)
|
|
1373
1373
|
{
|
|
1374
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1375
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1374
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt");
|
|
1375
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html");
|
|
1376
1376
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1377
1377
|
result = mtex2MML_output();
|
|
1378
1378
|
|
|
1379
1379
|
cl_assert_equal_s(fixture_mml, result);
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
|
-
void
|
|
1382
|
+
void test_mathjax__mathvariantmathscr1(void)
|
|
1383
1383
|
{
|
|
1384
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1385
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1384
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt");
|
|
1385
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html");
|
|
1386
1386
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1387
1387
|
result = mtex2MML_output();
|
|
1388
1388
|
|
|
1389
1389
|
cl_assert_equal_s(fixture_mml, result);
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
|
-
void
|
|
1392
|
+
void test_mathjax__mathvariantmathsf1(void)
|
|
1393
1393
|
{
|
|
1394
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1395
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1394
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt");
|
|
1395
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html");
|
|
1396
1396
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1397
1397
|
result = mtex2MML_output();
|
|
1398
1398
|
|
|
1399
1399
|
cl_assert_equal_s(fixture_mml, result);
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
1402
|
-
void
|
|
1402
|
+
void test_mathjax__mathvariantmathtt1(void)
|
|
1403
1403
|
{
|
|
1404
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1405
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1404
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt");
|
|
1405
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html");
|
|
1406
1406
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1407
1407
|
result = mtex2MML_output();
|
|
1408
1408
|
|
|
1409
1409
|
cl_assert_equal_s(fixture_mml, result);
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
|
-
void
|
|
1412
|
+
void test_mathjax__mathvariantmit1(void)
|
|
1413
1413
|
{
|
|
1414
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1415
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1414
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt");
|
|
1415
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mit-1.html");
|
|
1416
1416
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1417
1417
|
result = mtex2MML_output();
|
|
1418
1418
|
|
|
1419
1419
|
cl_assert_equal_s(fixture_mml, result);
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
-
void
|
|
1422
|
+
void test_mathjax__mathvariantpmb1(void)
|
|
1423
1423
|
{
|
|
1424
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1425
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1424
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt");
|
|
1425
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html");
|
|
1426
1426
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1427
1427
|
result = mtex2MML_output();
|
|
1428
1428
|
|
|
1429
1429
|
cl_assert_equal_s(fixture_mml, result);
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
|
-
void
|
|
1432
|
+
void test_mathjax__mathvariantrm1(void)
|
|
1433
1433
|
{
|
|
1434
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1435
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1434
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt");
|
|
1435
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/rm-1.html");
|
|
1436
1436
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1437
1437
|
result = mtex2MML_output();
|
|
1438
1438
|
|
|
1439
1439
|
cl_assert_equal_s(fixture_mml, result);
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
void
|
|
1442
|
+
void test_mathjax__mathvariantscr1(void)
|
|
1443
1443
|
{
|
|
1444
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1445
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1444
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt");
|
|
1445
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/scr-1.html");
|
|
1446
1446
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1447
1447
|
result = mtex2MML_output();
|
|
1448
1448
|
|
|
1449
1449
|
cl_assert_equal_s(fixture_mml, result);
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
|
-
void
|
|
1452
|
+
void test_mathjax__mathvariantsf1(void)
|
|
1453
1453
|
{
|
|
1454
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1455
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1454
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt");
|
|
1455
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/sf-1.html");
|
|
1456
1456
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1457
1457
|
result = mtex2MML_output();
|
|
1458
1458
|
|
|
1459
1459
|
cl_assert_equal_s(fixture_mml, result);
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
void
|
|
1462
|
+
void test_mathjax__mathvarianttext1(void)
|
|
1463
1463
|
{
|
|
1464
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1465
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1464
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt");
|
|
1465
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/text-1.html");
|
|
1466
1466
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1467
1467
|
result = mtex2MML_output();
|
|
1468
1468
|
|
|
1469
1469
|
cl_assert_equal_s(fixture_mml, result);
|
|
1470
1470
|
}
|
|
1471
1471
|
|
|
1472
|
-
void
|
|
1472
|
+
void test_mathjax__mathvarianttextbf1(void)
|
|
1473
1473
|
{
|
|
1474
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1475
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1474
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt");
|
|
1475
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html");
|
|
1476
1476
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1477
1477
|
result = mtex2MML_output();
|
|
1478
1478
|
|
|
1479
1479
|
cl_assert_equal_s(fixture_mml, result);
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
|
-
void
|
|
1482
|
+
void test_mathjax__mathvarianttextit1(void)
|
|
1483
1483
|
{
|
|
1484
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1485
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1484
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt");
|
|
1485
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textit-1.html");
|
|
1486
1486
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1487
1487
|
result = mtex2MML_output();
|
|
1488
1488
|
|
|
1489
1489
|
cl_assert_equal_s(fixture_mml, result);
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
|
-
void
|
|
1492
|
+
void test_mathjax__mathvarianttextrm1(void)
|
|
1493
1493
|
{
|
|
1494
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1495
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1494
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt");
|
|
1495
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html");
|
|
1496
1496
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1497
1497
|
result = mtex2MML_output();
|
|
1498
1498
|
|
|
1499
1499
|
cl_assert_equal_s(fixture_mml, result);
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
-
void
|
|
1502
|
+
void test_mathjax__mathvarianttextsf1(void)
|
|
1503
1503
|
{
|
|
1504
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1505
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1504
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt");
|
|
1505
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html");
|
|
1506
1506
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1507
1507
|
result = mtex2MML_output();
|
|
1508
1508
|
|
|
1509
1509
|
cl_assert_equal_s(fixture_mml, result);
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
|
-
void
|
|
1512
|
+
void test_mathjax__mathvarianttexttt1(void)
|
|
1513
1513
|
{
|
|
1514
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1515
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1514
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt");
|
|
1515
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html");
|
|
1516
1516
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1517
1517
|
result = mtex2MML_output();
|
|
1518
1518
|
|
|
1519
1519
|
cl_assert_equal_s(fixture_mml, result);
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
void
|
|
1522
|
+
void test_mathjax__mathvarianttt1(void)
|
|
1523
1523
|
{
|
|
1524
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1525
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1524
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt");
|
|
1525
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/tt-1.html");
|
|
1526
1526
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1527
1527
|
result = mtex2MML_output();
|
|
1528
1528
|
|
|
1529
1529
|
cl_assert_equal_s(fixture_mml, result);
|
|
1530
1530
|
}
|
|
1531
1531
|
|
|
1532
|
-
void
|
|
1532
|
+
void test_mathjax__matricesarray1a(void)
|
|
1533
1533
|
{
|
|
1534
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1535
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1534
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-1a.txt");
|
|
1535
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-1a.html");
|
|
1536
1536
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1537
1537
|
result = mtex2MML_output();
|
|
1538
1538
|
|
|
1539
1539
|
cl_assert_equal_s(fixture_mml, result);
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
1542
|
-
void
|
|
1542
|
+
void test_mathjax__matricesarray1b(void)
|
|
1543
1543
|
{
|
|
1544
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1545
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1544
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-1b.txt");
|
|
1545
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-1b.html");
|
|
1546
1546
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1547
1547
|
result = mtex2MML_output();
|
|
1548
1548
|
|
|
1549
1549
|
cl_assert_equal_s(fixture_mml, result);
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
|
-
void
|
|
1552
|
+
void test_mathjax__matricesarray2(void)
|
|
1553
1553
|
{
|
|
1554
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1555
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1554
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-2.txt");
|
|
1555
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-2.html");
|
|
1556
1556
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1557
1557
|
result = mtex2MML_output();
|
|
1558
1558
|
|
|
1559
1559
|
cl_assert_equal_s(fixture_mml, result);
|
|
1560
1560
|
}
|
|
1561
1561
|
|
|
1562
|
-
void
|
|
1562
|
+
void test_mathjax__matricesarray3(void)
|
|
1563
1563
|
{
|
|
1564
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1565
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1564
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-3.txt");
|
|
1565
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-3.html");
|
|
1566
1566
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1567
1567
|
result = mtex2MML_output();
|
|
1568
1568
|
|
|
1569
1569
|
cl_assert_equal_s(fixture_mml, result);
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
|
-
void
|
|
1572
|
+
void test_mathjax__matricesbmatrix1(void)
|
|
1573
1573
|
{
|
|
1574
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1575
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1574
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt");
|
|
1575
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html");
|
|
1576
1576
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1577
1577
|
result = mtex2MML_output();
|
|
1578
1578
|
|
|
1579
1579
|
cl_assert_equal_s(fixture_mml, result);
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
-
void
|
|
1582
|
+
void test_mathjax__matricesbmatrix2(void)
|
|
1583
1583
|
{
|
|
1584
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1585
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1584
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt");
|
|
1585
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html");
|
|
1586
1586
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1587
1587
|
result = mtex2MML_output();
|
|
1588
1588
|
|
|
1589
1589
|
cl_assert_equal_s(fixture_mml, result);
|
|
1590
1590
|
}
|
|
1591
1591
|
|
|
1592
|
-
void
|
|
1592
|
+
void test_mathjax__matricesmatrix1(void)
|
|
1593
1593
|
{
|
|
1594
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1595
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1594
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt");
|
|
1595
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/matrix-1.html");
|
|
1596
1596
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1597
1597
|
result = mtex2MML_output();
|
|
1598
1598
|
|
|
1599
1599
|
cl_assert_equal_s(fixture_mml, result);
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
|
-
void
|
|
1602
|
+
void test_mathjax__matricesmatrix2(void)
|
|
1603
1603
|
{
|
|
1604
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1605
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1604
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt");
|
|
1605
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/matrix-2.html");
|
|
1606
1606
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1607
1607
|
result = mtex2MML_output();
|
|
1608
1608
|
|
|
1609
1609
|
cl_assert_equal_s(fixture_mml, result);
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
void
|
|
1612
|
+
void test_mathjax__matricespmatrix1(void)
|
|
1613
1613
|
{
|
|
1614
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1615
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1614
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt");
|
|
1615
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html");
|
|
1616
1616
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1617
1617
|
result = mtex2MML_output();
|
|
1618
1618
|
|
|
1619
1619
|
cl_assert_equal_s(fixture_mml, result);
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
|
-
void
|
|
1622
|
+
void test_mathjax__matricespmatrix2(void)
|
|
1623
1623
|
{
|
|
1624
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1625
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1624
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt");
|
|
1625
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html");
|
|
1626
1626
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1627
1627
|
result = mtex2MML_output();
|
|
1628
1628
|
|
|
1629
1629
|
cl_assert_equal_s(fixture_mml, result);
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
|
-
void
|
|
1632
|
+
void test_mathjax__matricessmallmatrix1(void)
|
|
1633
1633
|
{
|
|
1634
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1635
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1634
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt");
|
|
1635
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html");
|
|
1636
1636
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1637
1637
|
result = mtex2MML_output();
|
|
1638
1638
|
|
|
1639
1639
|
cl_assert_equal_s(fixture_mml, result);
|
|
1640
1640
|
}
|
|
1641
1641
|
|
|
1642
|
-
void
|
|
1642
|
+
void test_mathjax__matricesvmatrix1(void)
|
|
1643
1643
|
{
|
|
1644
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1645
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1644
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt");
|
|
1645
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html");
|
|
1646
1646
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1647
1647
|
result = mtex2MML_output();
|
|
1648
1648
|
|
|
1649
1649
|
cl_assert_equal_s(fixture_mml, result);
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
|
-
void
|
|
1652
|
+
void test_mathjax__matricesvmatrix2(void)
|
|
1653
1653
|
{
|
|
1654
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1655
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1654
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt");
|
|
1655
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html");
|
|
1656
1656
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1657
1657
|
result = mtex2MML_output();
|
|
1658
1658
|
|
|
1659
1659
|
cl_assert_equal_s(fixture_mml, result);
|
|
1660
1660
|
}
|
|
1661
1661
|
|
|
1662
|
-
void
|
|
1662
|
+
void test_mathjax__nonstandardTiny1(void)
|
|
1663
1663
|
{
|
|
1664
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1665
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1664
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt");
|
|
1665
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html");
|
|
1666
1666
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1667
1667
|
result = mtex2MML_output();
|
|
1668
1668
|
|
|
1669
1669
|
cl_assert_equal_s(fixture_mml, result);
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
|
-
void
|
|
1672
|
+
void test_mathjax__otherLaTeX1(void)
|
|
1673
1673
|
{
|
|
1674
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1675
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1674
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt");
|
|
1675
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/LaTeX-1.html");
|
|
1676
1676
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1677
1677
|
result = mtex2MML_output();
|
|
1678
1678
|
|
|
1679
1679
|
cl_assert_equal_s(fixture_mml, result);
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
void
|
|
1682
|
+
void test_mathjax__otherbbox1(void)
|
|
1683
1683
|
{
|
|
1684
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1685
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1684
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/bbox-1.txt");
|
|
1685
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/bbox-1.html");
|
|
1686
1686
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1687
1687
|
result = mtex2MML_output();
|
|
1688
1688
|
|
|
1689
1689
|
cl_assert_equal_s(fixture_mml, result);
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
-
void
|
|
1692
|
+
void test_mathjax__otherboxed1(void)
|
|
1693
1693
|
{
|
|
1694
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1695
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1694
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/boxed-1.txt");
|
|
1695
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/boxed-1.html");
|
|
1696
1696
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1697
1697
|
result = mtex2MML_output();
|
|
1698
1698
|
|
|
1699
1699
|
cl_assert_equal_s(fixture_mml, result);
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
|
-
void
|
|
1702
|
+
void test_mathjax__othercancel1(void)
|
|
1703
1703
|
{
|
|
1704
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1705
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1704
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/cancel-1.txt");
|
|
1705
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/cancel-1.html");
|
|
1706
1706
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1707
1707
|
result = mtex2MML_output();
|
|
1708
1708
|
|
|
1709
1709
|
cl_assert_equal_s(fixture_mml, result);
|
|
1710
1710
|
}
|
|
1711
1711
|
|
|
1712
|
-
void
|
|
1712
|
+
void test_mathjax__othercases1(void)
|
|
1713
1713
|
{
|
|
1714
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1715
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1714
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/cases-1.txt");
|
|
1715
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/cases-1.html");
|
|
1716
1716
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1717
1717
|
result = mtex2MML_output();
|
|
1718
1718
|
|
|
1719
1719
|
cl_assert_equal_s(fixture_mml, result);
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
|
-
void
|
|
1722
|
+
void test_mathjax__otherenclose1(void)
|
|
1723
1723
|
{
|
|
1724
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1725
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1724
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/enclose-1.txt");
|
|
1725
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/enclose-1.html");
|
|
1726
1726
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1727
1727
|
result = mtex2MML_output();
|
|
1728
1728
|
|
|
1729
1729
|
cl_assert_equal_s(fixture_mml, result);
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
|
-
void
|
|
1732
|
+
void test_mathjax__otherfunctions1(void)
|
|
1733
1733
|
{
|
|
1734
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1735
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1734
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/functions-1.txt");
|
|
1735
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/functions-1.html");
|
|
1736
1736
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1737
1737
|
result = mtex2MML_output();
|
|
1738
1738
|
|
|
1739
1739
|
cl_assert_equal_s(fixture_mml, result);
|
|
1740
1740
|
}
|
|
1741
1741
|
|
|
1742
|
-
void
|
|
1742
|
+
void test_mathjax__otherlimits1(void)
|
|
1743
1743
|
{
|
|
1744
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1745
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1744
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-1.txt");
|
|
1745
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-1.html");
|
|
1746
1746
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1747
1747
|
result = mtex2MML_output();
|
|
1748
1748
|
|
|
1749
1749
|
cl_assert_equal_s(fixture_mml, result);
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
|
-
void
|
|
1752
|
+
void test_mathjax__otherlimits2(void)
|
|
1753
1753
|
{
|
|
1754
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1755
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1754
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-2.txt");
|
|
1755
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-2.html");
|
|
1756
1756
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1757
1757
|
result = mtex2MML_output();
|
|
1758
1758
|
|
|
1759
1759
|
cl_assert_equal_s(fixture_mml, result);
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
void
|
|
1762
|
+
void test_mathjax__otherlimits3(void)
|
|
1763
1763
|
{
|
|
1764
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1765
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1764
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-3.txt");
|
|
1765
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-3.html");
|
|
1766
1766
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1767
1767
|
result = mtex2MML_output();
|
|
1768
1768
|
|
|
1769
1769
|
cl_assert_equal_s(fixture_mml, result);
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
|
-
void
|
|
1772
|
+
void test_mathjax__othermathsize1(void)
|
|
1773
1773
|
{
|
|
1774
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1775
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1774
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/mathsize-1.txt");
|
|
1775
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/mathsize-1.html");
|
|
1776
1776
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1777
1777
|
result = mtex2MML_output();
|
|
1778
1778
|
|
|
1779
1779
|
cl_assert_equal_s(fixture_mml, result);
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
void
|
|
1782
|
+
void test_mathjax__othermod1(void)
|
|
1783
1783
|
{
|
|
1784
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1785
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1784
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/mod-1.txt");
|
|
1785
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/mod-1.html");
|
|
1786
1786
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1787
1787
|
result = mtex2MML_output();
|
|
1788
1788
|
|
|
1789
1789
|
cl_assert_equal_s(fixture_mml, result);
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
|
-
void
|
|
1792
|
+
void test_mathjax__othernot1(void)
|
|
1793
1793
|
{
|
|
1794
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1795
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1794
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/not-1.txt");
|
|
1795
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/not-1.html");
|
|
1796
1796
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1797
1797
|
result = mtex2MML_output();
|
|
1798
1798
|
|
|
1799
1799
|
cl_assert_equal_s(fixture_mml, result);
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
void
|
|
1802
|
+
void test_mathjax__otherpod1(void)
|
|
1803
1803
|
{
|
|
1804
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1805
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1804
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/pod-1.txt");
|
|
1805
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/pod-1.html");
|
|
1806
1806
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1807
1807
|
result = mtex2MML_output();
|
|
1808
1808
|
|
|
1809
1809
|
cl_assert_equal_s(fixture_mml, result);
|
|
1810
1810
|
}
|
|
1811
1811
|
|
|
1812
|
-
void
|
|
1812
|
+
void test_mathjax__otherprimes1(void)
|
|
1813
1813
|
{
|
|
1814
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1815
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1814
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-1.txt");
|
|
1815
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-1.html");
|
|
1816
1816
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1817
1817
|
result = mtex2MML_output();
|
|
1818
1818
|
|
|
1819
1819
|
cl_assert_equal_s(fixture_mml, result);
|
|
1820
1820
|
}
|
|
1821
1821
|
|
|
1822
|
-
void
|
|
1822
|
+
void test_mathjax__otherprimes2(void)
|
|
1823
1823
|
{
|
|
1824
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1825
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1824
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-2.txt");
|
|
1825
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-2.html");
|
|
1826
1826
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1827
1827
|
result = mtex2MML_output();
|
|
1828
1828
|
|
|
1829
1829
|
cl_assert_equal_s(fixture_mml, result);
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
|
-
void
|
|
1832
|
+
void test_mathjax__otherprimes3(void)
|
|
1833
1833
|
{
|
|
1834
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1835
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1834
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-3.txt");
|
|
1835
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-3.html");
|
|
1836
1836
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1837
1837
|
result = mtex2MML_output();
|
|
1838
1838
|
|
|
1839
1839
|
cl_assert_equal_s(fixture_mml, result);
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
void
|
|
1842
|
+
void test_mathjax__otherstyle1(void)
|
|
1843
1843
|
{
|
|
1844
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1845
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1844
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/style-1.txt");
|
|
1845
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/style-1.html");
|
|
1846
1846
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1847
1847
|
result = mtex2MML_output();
|
|
1848
1848
|
|
|
1849
1849
|
cl_assert_equal_s(fixture_mml, result);
|
|
1850
1850
|
}
|
|
1851
1851
|
|
|
1852
|
-
void
|
|
1852
|
+
void test_mathjax__otherverb1(void)
|
|
1853
1853
|
{
|
|
1854
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1855
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1854
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/verb-1.txt");
|
|
1855
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/verb-1.html");
|
|
1856
1856
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1857
1857
|
result = mtex2MML_output();
|
|
1858
1858
|
|
|
1859
1859
|
cl_assert_equal_s(fixture_mml, result);
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
-
void
|
|
1862
|
+
void test_mathjax__otherverb2(void)
|
|
1863
1863
|
{
|
|
1864
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1865
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1864
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/verb-2.txt");
|
|
1865
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/verb-2.html");
|
|
1866
1866
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1867
1867
|
result = mtex2MML_output();
|
|
1868
1868
|
|
|
1869
1869
|
cl_assert_equal_s(fixture_mml, result);
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
|
-
void
|
|
1872
|
+
void test_mathjax__referencesnotag1(void)
|
|
1873
1873
|
{
|
|
1874
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1875
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1874
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/references/notag-1.txt");
|
|
1875
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/references/notag-1.html");
|
|
1876
1876
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1877
1877
|
result = mtex2MML_output();
|
|
1878
1878
|
|
|
1879
1879
|
cl_assert_equal_s(fixture_mml, result);
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
void
|
|
1882
|
+
void test_mathjax__rootsroot1(void)
|
|
1883
1883
|
{
|
|
1884
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1885
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1884
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-1.txt");
|
|
1885
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-1.html");
|
|
1886
1886
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1887
1887
|
result = mtex2MML_output();
|
|
1888
1888
|
|
|
1889
1889
|
cl_assert_equal_s(fixture_mml, result);
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
void
|
|
1892
|
+
void test_mathjax__rootsroot2(void)
|
|
1893
1893
|
{
|
|
1894
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1895
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1894
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-2.txt");
|
|
1895
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-2.html");
|
|
1896
1896
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1897
1897
|
result = mtex2MML_output();
|
|
1898
1898
|
|
|
1899
1899
|
cl_assert_equal_s(fixture_mml, result);
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
-
void
|
|
1902
|
+
void test_mathjax__rootsroot3(void)
|
|
1903
1903
|
{
|
|
1904
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1905
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1904
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-3.txt");
|
|
1905
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-3.html");
|
|
1906
1906
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1907
1907
|
result = mtex2MML_output();
|
|
1908
1908
|
|
|
1909
1909
|
cl_assert_equal_s(fixture_mml, result);
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
|
-
void
|
|
1912
|
+
void test_mathjax__rootssqrt1(void)
|
|
1913
1913
|
{
|
|
1914
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1915
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1914
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt");
|
|
1915
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/sqrt-1.html");
|
|
1916
1916
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1917
1917
|
result = mtex2MML_output();
|
|
1918
1918
|
|
|
1919
1919
|
cl_assert_equal_s(fixture_mml, result);
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
1922
|
-
void
|
|
1922
|
+
void test_mathjax__rootssqrt2(void)
|
|
1923
1923
|
{
|
|
1924
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1925
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1924
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt");
|
|
1925
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/sqrt-2.html");
|
|
1926
1926
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1927
1927
|
result = mtex2MML_output();
|
|
1928
1928
|
|
|
1929
1929
|
cl_assert_equal_s(fixture_mml, result);
|
|
1930
1930
|
}
|
|
1931
1931
|
|
|
1932
|
-
void
|
|
1932
|
+
void test_mathjax__symbolsbinaryops1(void)
|
|
1933
1933
|
{
|
|
1934
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1935
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1934
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt");
|
|
1935
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/binaryops-1.html");
|
|
1936
1936
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1937
1937
|
result = mtex2MML_output();
|
|
1938
1938
|
|
|
1939
1939
|
cl_assert_equal_s(fixture_mml, result);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
void
|
|
1942
|
+
void test_mathjax__symbolsdots1(void)
|
|
1943
1943
|
{
|
|
1944
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1945
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1944
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/dots-1.txt");
|
|
1945
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/dots-1.html");
|
|
1946
1946
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1947
1947
|
result = mtex2MML_output();
|
|
1948
1948
|
|
|
1949
1949
|
cl_assert_equal_s(fixture_mml, result);
|
|
1950
1950
|
}
|
|
1951
1951
|
|
|
1952
|
-
void
|
|
1952
|
+
void test_mathjax__symbolslargeops1(void)
|
|
1953
1953
|
{
|
|
1954
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1955
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1954
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt");
|
|
1955
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/largeops-1.html");
|
|
1956
1956
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1957
1957
|
result = mtex2MML_output();
|
|
1958
1958
|
|
|
1959
1959
|
cl_assert_equal_s(fixture_mml, result);
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
|
-
void
|
|
1962
|
+
void test_mathjax__symbolslargeops2(void)
|
|
1963
1963
|
{
|
|
1964
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1965
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1964
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt");
|
|
1965
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/largeops-2.html");
|
|
1966
1966
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1967
1967
|
result = mtex2MML_output();
|
|
1968
1968
|
|
|
1969
1969
|
cl_assert_equal_s(fixture_mml, result);
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
|
-
void
|
|
1972
|
+
void test_mathjax__symbolsrelations1(void)
|
|
1973
1973
|
{
|
|
1974
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1975
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1974
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/relations-1.txt");
|
|
1975
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/relations-1.html");
|
|
1976
1976
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1977
1977
|
result = mtex2MML_output();
|
|
1978
1978
|
|
|
1979
1979
|
cl_assert_equal_s(fixture_mml, result);
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
void
|
|
1982
|
+
void test_mathjax__symbolssymbols1(void)
|
|
1983
1983
|
{
|
|
1984
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1985
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1984
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt");
|
|
1985
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-1.html");
|
|
1986
1986
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1987
1987
|
result = mtex2MML_output();
|
|
1988
1988
|
|
|
1989
1989
|
cl_assert_equal_s(fixture_mml, result);
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
void
|
|
1992
|
+
void test_mathjax__symbolssymbols2(void)
|
|
1993
1993
|
{
|
|
1994
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
1995
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
1994
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt");
|
|
1995
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-2.html");
|
|
1996
1996
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
1997
1997
|
result = mtex2MML_output();
|
|
1998
1998
|
|
|
1999
1999
|
cl_assert_equal_s(fixture_mml, result);
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
-
void
|
|
2002
|
+
void test_mathjax__symbolssymbols3(void)
|
|
2003
2003
|
{
|
|
2004
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
2005
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
2004
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt");
|
|
2005
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-3.html");
|
|
2006
2006
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
2007
2007
|
result = mtex2MML_output();
|
|
2008
2008
|
|
|
2009
2009
|
cl_assert_equal_s(fixture_mml, result);
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
2012
|
-
void
|
|
2012
|
+
void test_mathjax__symbolssymbols4(void)
|
|
2013
2013
|
{
|
|
2014
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
2015
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
2014
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt");
|
|
2015
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-4.html");
|
|
2016
2016
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
2017
2017
|
result = mtex2MML_output();
|
|
2018
2018
|
|
|
2019
2019
|
cl_assert_equal_s(fixture_mml, result);
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
|
-
void
|
|
2022
|
+
void test_mathjax__symbolssymbols5(void)
|
|
2023
2023
|
{
|
|
2024
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
2025
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
2024
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt");
|
|
2025
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-5.html");
|
|
2026
2026
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
2027
2027
|
result = mtex2MML_output();
|
|
2028
2028
|
|
|
2029
2029
|
cl_assert_equal_s(fixture_mml, result);
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
|
-
void
|
|
2032
|
+
void test_mathjax__symbolssymbols6(void)
|
|
2033
2033
|
{
|
|
2034
|
-
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/
|
|
2035
|
-
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/
|
|
2034
|
+
fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt");
|
|
2035
|
+
fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-6.html");
|
|
2036
2036
|
mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
|
|
2037
2037
|
result = mtex2MML_output();
|
|
2038
2038
|
|