~mwshinn/+junk/notes3

« back to all changes in this revision

Viewing changes to unittestmath.n

  • Committer: Max Shinn
  • Date: 2015-09-09 16:29:06 UTC
  • Revision ID: max@maxshinnpotential.com-20150909162906-2pdk9uydjmft0vlq
Touching variables handled intelligently instead of failing

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
| $2^α$ | ${{2^\alpha}}$ |
36
36
| $2^-1$ | ${{2^{-1}}}$ |
37
37
| $2^-α$ | ${{2^{-\alpha}}}$ |
38
 
| $y x^x$ | ${{yx^x}}$ |
 
38
| $yx^x$ | ${{yx^x}}$ |
39
39
| $2^{xy}$ | ${{2^{xy}}}$ |
40
 
| $2^sin^2(x)$ | ${{2^{\text{sin}^2(x)}}}$ |
41
40
| $2^"text"$ | ${{2^\text{text}}}$ |
42
41
| $2^x y$ | ${{2^x y}}$ |
43
42
| $3^mat[1, 2; 3, 4]$ | ${{3^{\begin{bmatrix}1&2\\3&4\end{bmatrix}}}}$ |
74
73
| $f(x)$ | ${{f(x)}}$ |
75
74
| $x = \begin{cases} x&x>0 \\ 0&x≤0 \end{cases}$ | ${{x = \begin{cases} x&x>0 \\ 0&x\le 0 \end{cases}}}$ |
76
75
| $x^f(x)$ | ${{x^{f(x)}}}$ |
77
 
| $sin^2(x)$ | ${{\text{sin}^2(x)}}$ |
78
 
| $sin^-1(x)$ | ${{\text{sin}^{-1}(x)}}$ |
79
76
| $.3+1.404^3.12$ | ${{.3+1.404^{3.12}}}$ |
80
77
| $df_1/dt = t^2$ | ${{\text{d}f_1/\text{d}t = t^2}}$ |
81
78
| $x∈[1,3)$ | ${{x\in[1,3)}}$ |
84
81
| $f'(V)$ | ${{f'(V)}}$ |
85
82
| $f''(V)$ | ${{f''(V)}}$ |
86
83
| $f'''(V)$ | ${{f'''(V)}}$ |
 
84
| $xy^xy$ | ${{xy^{xy}}}$ |
 
85
| $wx_xy^yz$ | ${{wx^{yz}_{xy}}}$ |
 
86
| $xy^2$ | ${{xy^{xy}}}$ |
 
87
| $2^xy$ | ${{xy^{xy}}}$ |
 
88
| $xy^xy_3$ | ${{xy^{yx}_{y}}}$ |
 
89
| $sin^2(x)$ | ${{\text{sin}^2(x)}}$ |
 
90
| $sin^-1(x)$ | ${{\text{sin}^{-1}(x)}}$ |
 
91
 
 
92
# What still doesn't work
 
93
 
 
94
 
 
95
| Expression | Expected |
 
96
|------------+----------|
 
97
| $sin^xy(x)$ | ${{\text{sin}^{xy}(x)}}$ |
 
98
| $sin_2^n(x)$ | ${{sin_2^n(x)}}$ |
 
99
| $f_n(x)$ | ${{f_n(x)}}$ |