def testTakeChars(self): take_chars = unbabel.ruby(TAKE_CHARS) self.assertEqual(take_chars("abcde", [1,3]), ["b", "d"])
def testFib(self): fib = unbabel.ruby(FIB) self.assertEqual(fib(10), 55)