2022-11-27 01:55:52PM
This commit is contained in:
parent
72dcdf9cc4
commit
357a8633ea
1 changed files with 2 additions and 2 deletions
|
|
@ -5,13 +5,13 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSVG(t *testing.T) {
|
func TestRender(t *testing.T) {
|
||||||
txts := []string{
|
txts := []string{
|
||||||
"a + b = c",
|
"a + b = c",
|
||||||
"\\\\frac{1}{2}",
|
"\\\\frac{1}{2}",
|
||||||
}
|
}
|
||||||
for _, txt := range txts {
|
for _, txt := range txts {
|
||||||
svg, err := SVG(txt)
|
svg, err := Render(txt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue