call func compare all from main with test parameters