Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.seal;
- import org.junit.jupiter.api.DisplayName;
- import org.junit.jupiter.api.Test;
- import org.junit.platform.runner.JUnitPlatform;
- import org.junit.runner.RunWith;
- import static org.junit.jupiter.api.Assertions.assertEquals;
- @RunWith(JUnitPlatform.class)
- class AppTestOne {
- @Test
- @DisplayName("A special test case")
- void test() {
- App app = new App();
- assertEquals(2 , app.add(1 , 1));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment