Skip to content

Commit

Permalink
Add few test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tfiedor committed May 9, 2024
1 parent 0f246cf commit e31419b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ def simple_generator():
assert common_kit.perun_confirm("Confirm_something") == common_kit.DEFAULT_CONFIRMATION
common_kit.ALWAYS_CONFIRM = prev_value

assert common_kit.compact_convert_num_to_str(1) == "1"
assert common_kit.compact_convert_num_to_str(10.0) == "10"
assert common_kit.compact_convert_num_to_str(10.123) == "10.12"


def test_predicates(capsys):
"""Test predicates used for testing"""
Expand Down

0 comments on commit e31419b

Please sign in to comment.