Equation Sanity Check

Can anyone explain to me why I'm getting the results that I am getting in these equations?

I would have expected

Test 1 = 1

Test 2 = 0

Test 3 = 0

SolidworksParts And Features