hi
i want to start using junit to test my methods or class
i download it and i add it to my eclipse project but i can't use it
i want to test this method
how can i do it
this method take array of element and round them to 2 elements
example
array is {5,6,7,8,9}
result will be
{5,7}
here is the method
and here is what i try in jUnit
note :
as you see i change the method to return only one int coz i don't know how to test array
that is why i post the original method
thx