blob: 113b11e09859f4375e5050438e3b21c65c698b1b [file] [log] [blame]
"""A tiny example binary for the native Python rules of Bazel."""
import unittest
from examples.py_native.lib import GetNumber
from fib import Fib
class TestGetNumber(unittest.TestCase):
def test_ok(self):
self.assertEqual(GetNumber(), 42)
def test_fib(self):
self.assertEqual(Fib(5), 8)
if __name__ == '__main__':
unittest.main()