Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 8th, 2020 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import org.junit.Test;
  2.  
  3. import static org.junit.Assert.assertFalse;
  4. import static org.junit.Assert.assertTrue;
  5.  
  6. public class TestMarcell {
  7.  
  8.  
  9.     @Test
  10.     public final void testFlorian() {
  11.         assertFalse("S1A_OPER_REP__SUP___20181208T070000_20181208T111500_0001.EOF".matches("^((?!^S1[ABCD]_OPER_REP__SUP___.*$).)*$"));
  12.         assertTrue("S1A_OPER_REP__SUA___20181208T070000_20181208T111500_0001.EOF".matches("^((?!^S1[ABCD]_OPER_REP__SUP___.*$).)*$"));
  13.         assertFalse("S1A_OPER_REP_MP_MP__PDMC_20200303T093232_V20200303T170000_20200319T190000.xml".matches("^((?!(^S1[ABCD_]_OPER_REP_MP_MP__PDMC.*$)).)*$"));
  14.         assertTrue("S1A_OPER_REF_MP_MP__PDMC_20200303T093232_V20200303T170000_20200319T190000.xml".matches("^((?!(^S1[ABCD_]_OPER_REP_MP_MP__PDMC.*$)).)*$"));
  15.     }
  16.  
  17.  
  18. }
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