Skip to content

Commit 71005d2

Browse files
committed
Cleanup and improving test
1 parent 0ce9ce2 commit 71005d2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/io/TestMMCIFWriting.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
import org.biojava.nbio.structure.Structure;
44
import org.biojava.nbio.structure.StructureException;
55
import org.biojava.nbio.structure.StructureIO;
6-
import org.biojava.nbio.structure.xtal.CrystalBuilder;
76
import org.junit.Test;
87

98
import java.io.IOException;
10-
import java.util.HashMap;
119

1210
import static org.junit.Assert.assertNotNull;
11+
import static org.junit.Assert.assertTrue;
1312

1413
public class TestMMCIFWriting {
1514

@@ -23,6 +22,8 @@ public void testBiounitWriting6a63() throws IOException, StructureException {
2322
Structure s = StructureIO.getBiologicalAssembly("6a63", 1);
2423
String mmcif = s.toMMCIF();
2524
assertNotNull(mmcif);
25+
assertTrue(mmcif.contains("A_1"));
26+
assertTrue(mmcif.contains("A_2"));
2627
}
2728

2829
}

biojava-structure/src/main/java/org/biojava/nbio/structure/EntityInfo.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525

2626
import org.biojava.nbio.structure.io.FileParsingParameters;
27-
import org.biojava.nbio.structure.quaternary.BiologicalAssemblyBuilder;
2827
import org.slf4j.Logger;
2928
import org.slf4j.LoggerFactory;
3029

0 commit comments

Comments
 (0)