Module qimview.pytests.tutorial.test_square
Expand source code
import math
import pytest
def test_sqrt():
num = 25
assert math.sqrt(num) == 5
@pytest.mark.skip
def testsquare():
num = 7
assert 7*7 == 40
def tesequality():
assert 10 == 11
Functions
def tesequality()-
Expand source code
def tesequality(): assert 10 == 11 def test_sqrt()-
Expand source code
def test_sqrt(): num = 25 assert math.sqrt(num) == 5 def testsquare()-
Expand source code
@pytest.mark.skip def testsquare(): num = 7 assert 7*7 == 40