()
| 1290 | |
| 1291 | #[test] |
| 1292 | fn is_not_simple() { |
| 1293 | test_is_not_simple("multi-char variable", "<mi>rise</mi>"); |
| 1294 | test_is_not_simple("large ordinal fraction", "<mfrac><mn>30</mn><mn>4</mn></mfrac>"); |
| 1295 | test_is_not_simple("fraction with var in numerator", "<mfrac><mi>x</mi><mn>4</mn></mfrac>"); |
| 1296 | test_is_not_simple("square root", "<msqrt><mi>x</mi></msqrt>"); |
| 1297 | test_is_not_simple("subscript", "<msub><mi>x</mi><mn>4</mn></msub>"); |
| 1298 | test_is_not_simple("-x y z", |
| 1299 | "<mrow><mrow><mo>-</mo><mi>x</mi></mrow> |
| 1300 | <mo>⁢</mo><mi>y</mi><mo>⁢</mo><mi>z</mi></mrow>"); |
| 1301 | test_is_not_simple("C(-2,1,4)", // github.com/NSoiffer/MathCAT/issues/199 |
| 1302 | "<mrow><mi>C</mi><mrow><mo>(</mo><mo>−</mo><mn>2</mn><mo>,</mo><mn>1</mn><mo>,</mo><mn>4</mn><mo>)</mo></mrow></mrow>"); |
| 1303 | |
| 1304 | } |
| 1305 | |
| 1306 | #[test] |
| 1307 | fn at_left_edge() { |
nothing calls this directly
no test coverage detected