Guest User

Untitled

a guest
Nov 10th, 2017
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. package com.seal;
  2.  
  3. import org.junit.jupiter.api.DisplayName;
  4. import org.junit.jupiter.api.Test;
  5. import org.junit.platform.runner.JUnitPlatform;
  6. import org.junit.runner.RunWith;
  7.  
  8. import static org.junit.jupiter.api.Assertions.assertEquals;
  9.  
  10. @RunWith(JUnitPlatform.class)
  11. class AppTestOne {
  12.  
  13.     @Test
  14.     @DisplayName("A special test case")
  15.     void test() {
  16.         App app = new App();
  17.         assertEquals(2 , app.add(1 , 1));
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment