rapodaca (owner)

Revisions

gist: 134527 Download_button fork
public
Public Clone URL: git://gist.github.com/134527.git
Embed All Files: show embed
Java #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import com.metamolecular.mx.io.daylight.SMILESReader;
import com.metamolecular.mx.map.DefaultMapper;
import com.metamolecular.mx.map.Mapper;
import junit.framework.TestCase;
 
public class Test extends TestCase
{
  public void testSaturatedSulfurDoesntMatchUnsaturatedSulfur()
  {
    Mapper mapper = new DefaultMapper(SMILESReader.read("S-C=O"));
    
    // or should this pass?
    assertFalse(mapper.hasMap(SMILESReader.read("CCS(=O)C(=O)N(C)C1=CC=C(Cl)C=C1")));
  }
}