source: class ArxivTest {
  
  @Test public void url2numTest() {
  
target: 	String num = "2003.02320";
  	String url = "https://arxiv.org/abs/2003.02320";
  	String x;
  	x = Arxiv.url2num(url);
  	assertTrue(num.contentEquals(x));
  	
  	url = "https://arxiv.org/pdf/2003.02320.pdf";
  	x = Arxiv.url2num(url);
  	assertTrue(num.contentEquals(x));
  	
  	url = "https://arxiv.org/abs/2003.02320v1";
  	x = Arxiv.url2num(url);
  	System.out.println(x);
  	assertTrue(num.contentEquals(x));
  	
  	url = "http://arxiv.org/abs/0811.3701";
  	x = Arxiv.url2num(url);
  	System.out.println(x);
  	assertTrue("0811.3701".contentEquals(x));
  
  }
  
  }