lundi 22 avril 2019

JUnit how to check if two integers equal different two integers

Pretty much the titel itself. I have methode which gives out 2 integers but the only way I know to compare them is like " assertEqauls(1,Test.methode(3) when there are only 2 integers to compare.

What would I have to do if methode were to give 2 intergers back like

assertEqauls((1,4),Test.methode(3 ,4 ) I tried it like this but it does not work

Aucun commentaire:

Enregistrer un commentaire