SHARE
TWEET

Untitled

a guest Nov 20th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package test;
  2.  
  3. import static org.junit.jupiter.api.Assertions.*;
  4.  
  5. import org.junit.jupiter.api.Test;
  6.  
  7. import labo6.Debug6;
  8.  
  9. class Debug6Test {
  10.  
  11.     @Test
  12.     void testerEnleverCaracteresNonAlphanumeriques() {
  13.         assertEquals("0497943214", Debug6.enleverCaracteresNonAlphanumeriques("0497/94.32.14"));
  14.         assertEquals("1ABC123", Debug6.enleverCaracteresNonAlphanumeriques("1-ABC-123"));
  15.         assertEquals("0497943214", Debug6.enleverCaracteresNonAlphanumeriques("0497 / 94 32 14"));
  16.  
  17.     }
  18.  
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top