Skip to content

Instantly share code, notes, and snippets.

Created June 13, 2009 17:36
Show Gist options
  • Select an option

  • Save anonymous/129352 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/129352 to your computer and use it in GitHub Desktop.
import com.metamolecular.mx.io.Molecules;
import com.metamolecular.mx.map.DefaultMapper;
import com.metamolecular.mx.model.Molecule;
import junit.framework.TestCase;
public class Test extends TestCase
{
public void testMapperFromCopiedMolecule()
{
Molecule propane = Molecules.createPropane();
Molecule copy = propane.copy();
DefaultMapper mapper = new DefaultMapper(copy);
assertTrue(mapper.hasMap(copy));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment