Permalink
Browse files

Test orbit cloning

  • Loading branch information...
1 parent 0bca11f commit 3c85ab2f6a0f583797a450a6b5ee544b079ee9c3 @gilleain gilleain committed with egonw Jun 12, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/test/org/openscience/cdk/signature/OrbitTest.java
@@ -54,6 +54,12 @@ public void setUp() {
}
@Test
+ public void testClone() {
+ Orbit clonedOrbit = (Orbit)orbit.clone();
+ Assert.assertEquals(clonedOrbit.toString(), orbit.toString());
+ }
+
+ @Test
public void isEmptyTest() {
Assert.assertFalse("The setUp method should have made an orbit with " +
"some indices in it", orbit.isEmpty());

0 comments on commit 3c85ab2

Please sign in to comment.