Feat: test random import

This commit is contained in:
2021-10-09 15:22:58 +02:00
parent b43c64fc7e
commit 32112a4591
8 changed files with 36 additions and 13 deletions

View File

@@ -1,6 +0,0 @@
import pytest
import mapytex
def test_random_function():
assert 1 == 1
#mapytex.random("{a}")

View File

@@ -17,7 +17,7 @@ def test_changing_render():
def test_changing_rending():
e = mapytex.Expression.from_str("2*3")
f = mapytex.Fraction("2/3")
f = mapytex.Expression.from_str("2/3")
assert str(e) == "2 * 3"
assert str(f) == "2 / 3"
mapytex.render.set_render("tex")

View File

@@ -0,0 +1,4 @@
import mapytex
def test_generate_list():
mapytex.random.list(["a", "b", "c"])