Arrange this block of code so that it can compile and have standard indentations.
Parameterized test
Annotations everywhere
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
class Tests {
void test2(int number) {
assertTrue(number > 0);
@ParameterizedTest
}
}
@ValueSource(ints = {1, 2, 3, 4, 5})
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.