def test_overlapSameRadNone(self): testcase = [400, 100] expected = None assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRadTotal(self): testcase = [0, 300] expected = math.pi * 300 * 300 assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRadJust(self): testcase = [400, 200] expected = 0 assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRadNegative(self): testcase = [-400, -100] expected = 53.426582300692644 assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRadBarely(self): testcase = [400, 201] expected = 53.426582300692644 assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRad1(self): testcase = [500, 300] expected = 22507.778063402147 assert pf.overlapArea(testcase[0], testcase[1]) == expected
def test_overlapSameRad0(self): testcase = [300, 200] expected = 18132.470159104392 assert pf.overlapArea(testcase[0], testcase[1]) == expected