예제 #1
0
class TestFib(unittest.TestCase):
    def setUp(self):
        pass

    def test_fib(self):
        self.fib = Fibonacci()
        self.fib.gen(5)
예제 #2
0
 def test_fib(self):
     self.fib = Fibonacci()
     self.fib.gen(5)
예제 #3
0
import sys
sys.path.append('../')
from fib import Fibonacci

fib = Fibonacci()
fib.gen(5)