ComeçarComece de graça

What to assert on?

In the previous exercise, why did we assert on the result being positive rather than on its exact value?

Este exercício faz parte do curso

Introduction to Testing in Java

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício