Solution 1

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

Reading Tests Playground

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

Test Cases

test small numbers - Run Test

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

test large numbers - Run Test

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