TST: fix comparison of X/Y Resolution rational numbers