def test_area(): b = test_count_black() c = hw5u.get_rect_coords(1, size=len(b)) #c = [[[1, -1], [2, -1], [1, 1], [2, 1]]] # 0 #c = [[[0, -1], [1, -1], [0, 1], [1, 1]]] # .5 print b print c[0] print hw5u.get_black_amt(b, c[0])