dimanche 4 janvier 2015

JUit test - division by zero. JAVA


Vote count:

0





public void div( int i )
{
acc = acc / i;
}


I want to make a test for this method. I did test for integers different than 0. But i have problem with test when i=0.



asked 56 secs ago







JUit test - division by zero. JAVA

Aucun commentaire:

Enregistrer un commentaire