# coding=utf-8
import numpy as np
from comptests import comptest, run_module_tests, comptest_fails


@comptest
def test_sum2():
    np.testing.assert_almost_equal(0.1 + 0.2, 0.3)


# use comptest_fails for a test that is supposed to fail
@comptest_fails
def test_supposed_to_fail():
    raise Exception()


if __name__ == '__main__':
    run_module_tests()
