@@ -202,7 +202,7 @@ public void CDStest() throws Exception {
202202 assertTrue (inStream .isclosed ());
203203
204204
205- Assert .assertTrue ( proteinSequences .size () == 1 );
205+ Assert .assertEquals ( 1 , proteinSequences .size ());
206206 logger .debug ("protein sequences: {}" , proteinSequences );
207207
208208 ProteinSequence protein = new ArrayList <>(proteinSequences .values ()).get (0 );
@@ -213,7 +213,7 @@ public void CDStest() throws Exception {
213213 List <Qualifier > dbrefs = quals .get ("db_xref" );
214214
215215 Assert .assertNotNull (codedBy );
216- Assert .assertTrue (! codedBy .isEmpty ());
216+ Assert .assertFalse ( codedBy .isEmpty ());
217217 assertEquals ("NM_000266.2:503..904" , codedBy );
218218 assertEquals (5 , dbrefs .size ());
219219
@@ -345,7 +345,7 @@ public void readSequenceWithZeroSpanFeature() throws IOException, CompoundNotFou
345345 final FeatureInterface <AbstractSequence <NucleotideCompound >, NucleotideCompound > f = seq .getFeatures ().get (33 );
346346 final AbstractLocation fLocation = f .getLocations ();
347347
348- assertEquals ( true , fLocation .isCircular ());
348+ assertTrue ( fLocation .isCircular ());
349349 assertEquals (7028 , (int )fLocation .getStart ().getPosition ());
350350 assertEquals (286 , (int )fLocation .getEnd ().getPosition ());
351351 assertEquals (Strand .NEGATIVE , fLocation .getStrand ());
0 commit comments