public void WriteToInterleavedFile_SingleSequence_ShouldRejectNegativeLineLength()
        {
            var             identifier     = new LocalIdentifier("value");
            var             header         = new Header(identifier);
            IActualSequence actualSequence = NucleicAcidSequence.Parse("ATCG");
            var             sequence       = new Sequence(header, actualSequence);

            SequenceFileWriter.WriteToInterleavedFile(sequence, Path, -1);
        }
        public void WriteToInterleavedFile_MultipleSequences_ShouldRejectNegativeLineLength()
        {
            var                    identifier     = new LocalIdentifier("value");
            var                    header         = new Header(identifier);
            IActualSequence        actualSequence = NucleicAcidSequence.Parse("ATCG");
            var                    sequence       = new Sequence(header, actualSequence);
            IEnumerable <Sequence> sequences      = new Sequence[] { sequence };

            SequenceFileWriter.WriteToInterleavedFile(sequences, Path, -1);
        }
 public void WriteToInterleavedFile_SingleSequence_ShouldRejectNullData()
 {
     SequenceFileWriter.WriteToInterleavedFile((Sequence)null, Path);
 }
 public void WriteToInterleavedFile_MultipleSequences_ShouldRejectNullData()
 {
     SequenceFileWriter.WriteToInterleavedFile((IEnumerable <Sequence>)null, Path);
 }