Add a assertPreciseEqual() method to check that two results are either exactly or approximately equal, and with similar types.