Question: 
Write a python function to count the number of integral co-ordinates that lie inside a square.


Model's Code:
def count_Intgral_Points(x1, y1, x2, y2):
    if x1 > x2 or y1 > y2:
        return 0
    return (x2 - x1) * (y2 - y1)



Sample Correct Code:
def count_Intgral_Points(x1,y1,x2,y2): 
    return ((y2 - y1 - 1) * (x2 - x1 - 1)) 


Asserts:
assert count_Intgral_Points(1,1,4,4) == 4
assert count_Intgral_Points(1,2,1,2) == 1
assert count_Intgral_Points(4,2,6,4) == 1


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 190 of 974: 138/190 (72.63157894736842%): failed