* Test the constructor that parses a PDB file format ATOM line. Fields are in
* fixed column positions
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testStringConstructor()
{
Atom a = new Atom(
assertEquals("GLN", a.resName);
assertEquals("A", a.chain);
assertEquals(48, a.resNumber);
- assertEquals("48", a.resNumIns);
+ assertEquals(" 48 ", a.resNumIns);
assertEquals(' ', a.insCode);
assertEquals(22.290, a.x, 0.00001);
assertEquals(8.595, a.y, 0.00001);
* Test the case where occupancy and temp factor are blank - should default to
* 1
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testStringConstructor_blankOccupancyTempFactor()
{
Atom a = new Atom(
/**
* Parsing non-numeric data as Atom throws an exception
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testStringConstructor_malformed()
{
try