2022-11-27 01:55:52PM

This commit is contained in:
Alexander Wang 2022-11-27 13:55:52 -08:00
parent 72dcdf9cc4
commit 357a8633ea
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -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)
}