Delete test code for a() and added missing || in isTriangle()