Browse Source

delete testmath

Abbas AHMAD 1 year ago
parent
commit
09607e34d1
1 changed files with 0 additions and 43 deletions
  1. 0 43
      test_math.py

+ 0 - 43
test_math.py

@@ -1,43 +0,0 @@
-import math
-import logging
-import pytest
-
-@pytest.mark.skip
-def test_logging():
-   logging.basicConfig(level=logging.DEBUG)
-   logging.debug("Debug")
-   logging.info("Message info")
-   logging.warning("Message Warning")
-   logging.error("Message Error")
-   logging.critical("Message Critical")
-
-@pytest.mark.skip
-def test_sqrt():
-   num = 25
-   assert math.sqrt(num) == 5
-
-@pytest.mark.skip
-def testsquare():
-   num = 7
-   assert 7*7 == 49
-
-@pytest.mark.skip
-def test_greater():
-   num = 101
-   assert num > 100
-
-@pytest.mark.skip
-def test_greater_equal():
-   num = 100
-   assert num >= 100
-
-@pytest.mark.skip
-def test_less():
-   num = 100
-   assert num < 200
-
-@pytest.mark.skip
-def test_equal():
-   logging.info("Test Equal")
-   num = 100
-   assert num == 100