Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. import static org.junit.Assert.assertTrue;
  2. import static org.junit.Assert.fail;
  3. import org.junit.After;
  4. import org.junit.Before;
  5. import org.junit.Test;
  6. import java.util.*;
  7.  
  8. public class A1Test {
  9.  
  10.     @Before
  11.     public void setUp() throws Exception {
  12.  
  13.     }
  14.  
  15.     @Test
  16.     public void testLowerBoundry_1()
  17.     {
  18.         String testValue = Assignment1.makeChange(1);
  19.         String expectedValue = "No Change Given";
  20.         if (testValue.equals(expectedValue) )
  21.         {
  22.             assert true;
  23.         }
  24.         else
  25.         {
  26.             assert false;
  27.         }
  28.     }
  29.  
  30.  
  31.  
  32.     @After
  33.     public void tearDown() {
  34.  
  35.  
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement