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"
|
||||
)
|
||||
|
||||
func TestSVG(t *testing.T) {
|
||||
func TestRender(t *testing.T) {
|
||||
txts := []string{
|
||||
"a + b = c",
|
||||
"\\\\frac{1}{2}",
|
||||
}
|
||||
for _, txt := range txts {
|
||||
svg, err := SVG(txt)
|
||||
svg, err := Render(txt)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue