from pycydemo.extension import some_function
from nose.tools import assert_equal


def test_some_function():
    assert_equal(some_function(0, 0), 0)
    assert_equal(some_function(0, 42), 0)
    assert_equal(some_function(41, 2), 1)
    assert_equal(some_function(1, 2), 3)
