Feat: test random import
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import pytest
|
||||
import mapytex
|
||||
|
||||
def test_random_function():
|
||||
assert 1 == 1
|
||||
#mapytex.random("{a}")
|
@@ -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")
|
||||
|
4
test/calculus/random/test_list_generator.py
Normal file
4
test/calculus/random/test_list_generator.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import mapytex
|
||||
|
||||
def test_generate_list():
|
||||
mapytex.random.list(["a", "b", "c"])
|
Reference in New Issue
Block a user