Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.58 KB | None | 0 0
  1. public class CategorieClientTest {
  2.    
  3.     CategorieClient catC;
  4.     String nom = "Toto";
  5.     int max = 20;
  6.     double cot = 20;
  7.     double coefDuree = 2;
  8.     double coefTarif = 2;
  9.     boolean codeReducActif = true;
  10.    
  11.     @Before
  12.     public void setUp(){
  13.        
  14.     }
  15.  
  16.     @Test
  17.     public void testCategorieClientStringIntDoubleDoubleDoubleBoolean() {
  18.         catC = new CategorieClient(null, max, cot, coefDuree, coefTarif, codeReducActif);
  19.         assertFalse(catC.getNom() == null);
  20.     }
  21.    
  22.     @Test
  23.     public void testCategorieClientString() {
  24.         catC = new CategorieClient(null);
  25.         assertFalse(catC.getNom() == null);
  26.     }
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement