Created
June 13, 2009 17:36
-
-
Save anonymous/129352 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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