def test_fibonacci_one(self): test_fibonacci = Apple() self.assertEqual(test_fibonacci.fibonacci(1), 1)
def test_get_sum(self): test_sum = Apple() self.assertEqual(test_sum.get_sum([1, 2, 3]), 6)
def test_get_apple(self): test_apple = Apple() self.assertEqual(test_apple.get_apple(), 'apple')
def test_fibonacci(self): test_fibonacci = Apple() self.assertEqual(test_fibonacci.fibonacci(11), 89)
def test_letter_counter_two(self): test_letter_counter = Apple() self.assertEqual(test_letter_counter.letter_counter('ab'), { 'a': 1, 'b': 1 })
def test_letter_counter_same(self): test_letter_counter = Apple() self.assertEqual(test_letter_counter.letter_counter('aab'), { 'a': 2, 'b': 1 })
def test_letter_counter_empty(self): test_letter_counter = Apple() self.assertEqual(test_letter_counter.letter_counter(''), {})
def test_letter_counter_one(self): test_letter_counter = Apple() self.assertEqual(test_letter_counter.letter_counter('a'), {'a': 1})
def test_get_anagram_false(self): test_get_anagram = Apple() self.assertFalse(test_get_anagram.get_anagram('abcd', 'cjab'))
def test_get_anagram_true(self): test_get_anagram = Apple() self.assertTrue(test_get_anagram.get_anagram('abcd', 'cdab'))
def test_get_sum_null(self): test_sum = Apple() self.assertEqual(test_sum.get_sum([0]), 0)
def test_get_sum_one(self): test_sum = Apple() self.assertEqual(test_sum.get_sum([1]), 1)
def test_get_sum_empty(self): test_sum = Apple() self.assertEqual(test_sum.get_sum([]), 0)