Commit e2adb808 authored by Eric Duminil's avatar Eric Duminil
Browse files

Basic tests

parent 6c2bca04
from .a import a as a
from .b import b as b
__version__ = "0.0.1"
def a(x: float):
def a(x: float) -> float:
return x + 1
def b(x: float) -> float:
return x + 2
import unittest
import sektorsim
class TestClass(unittest.TestCase):
def test_method(self):
self.assertEqual('foo'.upper(), 'FOO')
self.assertEqual(sektorsim.a(3), 4)
self.assertEqual(sektorsim.b(3), 5)
if __name__ == '__main__':
unittest.main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment