Skip to content

Commit

Permalink
added tests to test_mdf_functions
Browse files Browse the repository at this point in the history
  • Loading branch information
rimjhimittal committed Mar 28, 2024
1 parent 124d4d8 commit 0aaad66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_mdf_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
),
("Relu", {"A": 1}, 1),
("Relu", {"A": -1}, 0),
("arctan", {"variable0": 1, "scale": 1}, math.atan(1)),
("arctan", {"variable0": 0, "scale": 2}, 2 * math.atan(0)),
("arcsin", {"variable0": 0.5, "scale": 1}, math.asin(0.5)),
("arcsin", {"variable0": 0, "scale": 2}, 2 * math.asin(0)),
("arccos", {"variable0": 0.5, "scale": 1}, math.acos(0.5)),
("arccos", {"variable0": 0, "scale": 2}, 2 * math.acos(0)),
],
)
def test_std_functions(name, expected_result, parameters):
Expand Down

0 comments on commit 0aaad66

Please sign in to comment.