Comparing switch-case, if-else (double-equals) and if-else (triple equals)