Reading Tests Playground

Dummy function add to showcase the process of reading and understanding tests. Welcome to Test Driven Development!

Test Cases

test large numbers - Run Test

def test_large_numbers():
    assert add(183748174, 812481723) == 996229897

test small numbers - Run Test

def test_small_numbers():
    assert add(2, 3) == 5

Solution 1

def add(x, y):
    return x + y
def add(x, y): pass