| 1 |
package org.guha.rcdk.test; |
| 2 |
|
| 3 |
import junit.framework.Assert; |
| 4 |
import junit.framework.TestCase; |
| 5 |
import org.guha.rcdk.draw.Get2DStructureFromJCP; |
| 6 |
import org.openscience.cdk.interfaces.IAtomContainer; |
| 7 |
import org.openscience.cdk.interfaces.IChemModel; |
| 8 |
|
| 9 |
public class TestGet2DStructureFromJCP extends TestCase { |
| 10 |
|
| 11 |
/* |
| 12 |
* Test method for 'org.guha.rcdk.draw.Get2DStructureFromJCP.getChemModel()' |
| 13 |
*/ |
| 14 |
public void testEditor() { |
| 15 |
Get2DStructureFromJCP editor = new Get2DStructureFromJCP(); |
| 16 |
editor.showWindow(); |
| 17 |
IChemModel chemModel = editor.getChemModel(); |
| 18 |
Assert.assertNotNull(chemModel); |
| 19 |
IAtomContainer[] molecules = editor.getMolecules(); |
| 20 |
Assert.assertNotNull(molecules); |
| 21 |
} |
| 22 |
|
| 23 |
} |