Skip to content

Commit 732086b

Browse files
committed
update tests
1 parent fa41855 commit 732086b

File tree

4 files changed

+46
-46
lines changed

4 files changed

+46
-46
lines changed

test/test_basic_sin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def plot():
2323

2424

2525
def test():
26-
assert_equality(plot, "test_basic_sin_reference.tex", table_row_sep="\\\\\n")
26+
assert_equality(plot, "test_basic_sin_reference.tex")
2727
return
2828

2929

test/test_basic_sin_reference.tex

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
legend style={at={(0.03,0.03)}, anchor=south west, draw=white!80.0!black, fill=white!89.80392156862746!black},
1111
tick align=outside,
1212
tick pos=left,
13-
title={Simple plot $\frac{\alpha}{2}$},
13+
title={Simple plot \(\displaystyle \frac{\alpha}{2}\)},
1414
x grid style={white},
1515
xlabel={time(s)},
1616
xmajorgrids,
@@ -23,51 +23,51 @@
2323
ytick style={color=white!33.33333333333333!black}
2424
]
2525
\addplot [semithick, color0, mark=*, mark size=3, mark options={solid}]
26-
table [row sep=\\] {%
27-
0 0\\
28-
0.1 0.587785252292473\\
29-
0.2 0.951056516295154\\
30-
0.3 0.951056516295154\\
31-
0.4 0.587785252292473\\
32-
0.5 1.22464679914735e-16\\
33-
0.6 -0.587785252292473\\
34-
0.7 -0.951056516295154\\
35-
0.8 -0.951056516295154\\
36-
0.9 -0.587785252292473\\
37-
1 -2.44929359829471e-16\\
38-
1.1 0.587785252292474\\
39-
1.2 0.951056516295154\\
40-
1.3 0.951056516295154\\
41-
1.4 0.587785252292473\\
42-
1.5 3.67394039744206e-16\\
43-
1.6 -0.587785252292473\\
44-
1.7 -0.951056516295154\\
45-
1.8 -0.951056516295154\\
46-
1.9 -0.587785252292473\\
26+
table {%
27+
0 0
28+
0.1 0.587785252292473
29+
0.2 0.951056516295154
30+
0.3 0.951056516295154
31+
0.4 0.587785252292473
32+
0.5 1.22464679914735e-16
33+
0.6 -0.587785252292473
34+
0.7 -0.951056516295154
35+
0.8 -0.951056516295154
36+
0.9 -0.587785252292473
37+
1 -2.44929359829471e-16
38+
1.1 0.587785252292474
39+
1.2 0.951056516295154
40+
1.3 0.951056516295154
41+
1.4 0.587785252292473
42+
1.5 3.67394039744206e-16
43+
1.6 -0.587785252292473
44+
1.7 -0.951056516295154
45+
1.8 -0.951056516295154
46+
1.9 -0.587785252292473
4747
};
4848
\addlegendentry{sin}
4949
\addplot [very thick, color1, opacity=0.3, mark=*, mark size=3, mark options={solid}]
50-
table [row sep=\\] {%
51-
0 1\\
52-
0.1 0.809016994374947\\
53-
0.2 0.309016994374947\\
54-
0.3 -0.309016994374948\\
55-
0.4 -0.809016994374947\\
56-
0.5 -1\\
57-
0.6 -0.809016994374947\\
58-
0.7 -0.309016994374948\\
59-
0.8 0.309016994374947\\
60-
0.9 0.809016994374947\\
61-
1 1\\
62-
1.1 0.809016994374947\\
63-
1.2 0.309016994374947\\
64-
1.3 -0.309016994374947\\
65-
1.4 -0.809016994374947\\
66-
1.5 -1\\
67-
1.6 -0.809016994374948\\
68-
1.7 -0.309016994374946\\
69-
1.8 0.309016994374947\\
70-
1.9 0.809016994374947\\
50+
table {%
51+
0 1
52+
0.1 0.809016994374947
53+
0.2 0.309016994374947
54+
0.3 -0.309016994374948
55+
0.4 -0.809016994374947
56+
0.5 -1
57+
0.6 -0.809016994374947
58+
0.7 -0.309016994374948
59+
0.8 0.309016994374947
60+
0.9 0.809016994374947
61+
1 1
62+
1.1 0.809016994374947
63+
1.2 0.309016994374947
64+
1.3 -0.309016994374947
65+
1.4 -0.809016994374947
66+
1.5 -1
67+
1.6 -0.809016994374948
68+
1.7 -0.309016994374946
69+
1.8 0.309016994374947
70+
1.9 0.809016994374947
7171
};
7272
\addlegendentry{cos}
7373
\end{axis}

test/test_externalize_tables_reference.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
axis line style={white},
99
tick align=outside,
1010
tick pos=left,
11-
title={Simple plot $\frac{\alpha}{2}$},
11+
title={Simple plot \(\displaystyle \frac{\alpha}{2}\)},
1212
x grid style={white},
1313
xlabel={time(s)},
1414
xmajorgrids,

test/test_line_color_marker_reference.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
axis line style={white},
99
tick align=outside,
1010
tick pos=left,
11-
title={Simple plot $\frac{\alpha}{2}$},
11+
title={Simple plot \(\displaystyle \frac{\alpha}{2}\)},
1212
x grid style={white},
1313
xlabel={time(s)},
1414
xmajorgrids,

0 commit comments

Comments
 (0)