Each algorithm will give a different result for the same input. Because the way in which the results have been reached is different for each algorithm. The only way in which they can be tested is by adding the fractions.