Skip to content

Commit 23689bf

Browse files
Minor cleanup
1 parent 5fb54a1 commit 23689bf

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

app/evaluation_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ class TestEvaluationFunction():
2323
"""
2424

2525
# Import tests that makes sure that mathematical expression comparison works as expected
26-
#from .tests.symbolic_evaluation_tests import TestEvaluationFunction as TestSymbolicComparison
26+
from .tests.symbolic_evaluation_tests import TestEvaluationFunction as TestSymbolicComparison
2727

2828
# Import tests that makes sure that physical quantities are handled as expected
29-
#from .tests.physical_quantity_evaluation_tests import TestEvaluationFunction as TestQuantities
29+
from .tests.physical_quantity_evaluation_tests import TestEvaluationFunction as TestQuantities
3030

3131
# Import tests that corresponds to examples in documentation and examples module
3232
from .tests.example_tests import TestEvaluationFunction as TestExamples

app/tests/physical_quantity_evaluation_tests.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -349,18 +349,6 @@ def test_physical_quantity_with_atol(self):
349349
result = evaluation_function(res, ans, params, include_test_data=True)
350350
assert result["is_correct"] is True
351351

352-
# def test_rad_vs_Hz(self):
353-
# ans = "28.53 rad/s"
354-
# res = "4.5405 H"
355-
# params = {
356-
# 'rtol': 0.03,
357-
# 'strict_syntax': False,
358-
# 'physical_quantity': True,
359-
# 'elementary_functions': True,
360-
# }
361-
# result = evaluation_function(res, ans, params, include_test_data=True)
362-
# assert result["is_correct"] is True
363-
364352
def test_tolerance_given_as_string(self):
365353
ans = "4.52 kg"
366354
res = "13.74 kg"

0 commit comments

Comments
 (0)