PseudoAtom extends Atom implements java.io.Serializable, Cloneable, IPseudoAtom { @Override public String getLabel() { return label; } PseudoAtom();  PseudoAtom(String label);  PseudoAtom(IElement element);  PseudoAtom(String label, javax.vecmath.Point3d point3d);  PseudoAtom(String label, javax.vecmath.Point2d point2d); @Override String getLabel(); @Override void setLabel(String label); @Override int getAttachPointNum(); @Override void setAttachPointNum(int attachPoint); @Override void setStereoParity(Integer stereoParity); @Override String toString(); @Override IPseudoAtom clone();  }
@Test public void testPseudoAtom_String() { String label = "Arg255"; IPseudoAtom a = new PseudoAtom(label); Assert.assertEquals("R", a.getSymbol()); Assert.assertEquals(label, a.getLabel()); Assert.assertNull(a.getPoint3d()); Assert.assertNull(a.getPoint2d()); Assert.assertNull(a.getFractionalPoint3d()); }
@Test public void testPseudoAtom_String_Point2d() { Point2d point = new Point2d(1.0, 2.0); String label = "Arg255"; IPseudoAtom a = new PseudoAtom(label, point); Assert.assertEquals("R", a.getSymbol()); Assert.assertEquals(label, a.getLabel()); Assert.assertEquals(point, a.getPoint2d()); Assert.assertNull(a.getPoint3d()); Assert.assertNull(a.getFractionalPoint3d()); }
@Test public void testPseudoAtom_String_Point3d() { Point3d point = new Point3d(1.0, 2.0, 3.0); String label = "Arg255"; IPseudoAtom a = new PseudoAtom(label, point); Assert.assertEquals("R", a.getSymbol()); Assert.assertEquals(label, a.getLabel()); Assert.assertEquals(point, a.getPoint3d()); Assert.assertNull(a.getPoint2d()); Assert.assertNull(a.getFractionalPoint3d()); }