Starts implementing binary search algorithm

This commit is contained in:
Julien Lengrand-Lambert
2013-06-28 17:40:54 +02:00
commit 53cb6af0d2
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
"""
Unit tests for the binary search algorithm
@jlengrand
2013/07
"""
from bin_search import bin_search
import unittest
class test_bin_search(unittest.TestCase):
def setUp(self):
arr1 = [1, 2, 3, 4, 5]
def test_shuffle(self):
self.assertTrue(1, 1)
if __name__ == '__main__':
unittest.main()