Arrange lines of code of this unit test class in the correct order and with the correct indentation.
Unit testing with JUnit
Fix the code structure
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
class CalculatorTests {
void test() {
assertEquals(12, result);
}
@Test
int result = calculator.multiply(3, 4);
}
Calculator calculator = new Calculator();
___
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.