Tests for MathImport: LaTeX and MathML maths to Maxima commands (GH #932, GH #760).
More...
#include "MathImport.h"
#include <wx/init.h>
#include <catch2/catch.hpp>
|
|
| SCENARIO ("Plain arithmetic converts with the fewest parentheses") |
| |
|
| SCENARIO ("A script without braces is a single token, as in TeX") |
| |
|
| SCENARIO ("Math delimiters and trailing punctuation are removed") |
| |
|
| SCENARIO ("Fractions and roots") |
| |
|
| SCENARIO ("Constants and Greek letters") |
| |
|
| SCENARIO ("Functions, with and without parentheses") |
| |
|
| SCENARIO ("Subscripts become names or array indices") |
| |
|
| SCENARIO ("Brackets, sets and absolute values") |
| |
|
| SCENARIO ("Derivatives") |
| |
|
| SCENARIO ("Integrals, sums, products and limits") |
| |
|
| SCENARIO ("Relations, lists and equation arrays") |
| |
|
| SCENARIO ("Matrices") |
| |
|
| SCENARIO ("Anything without a single meaning is refused, not guessed") |
| |
|
| SCENARIO ("Presentation MathML") |
| |
|
| SCENARIO ("wxMaxima's own MathML comes back as what it was") |
| |
|
| SCENARIO ("MathToMaxima tells MathML from LaTeX") |
| |
|
int | main (int argc, char *argv[]) |
| |
Tests for MathImport: LaTeX and MathML maths to Maxima commands (GH #932, GH #760).
GUI-free and needs no Maxima, so tested directly.