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

            await SequenceFileWriter.WriteToInterleavedFileAsync(sequence, Path, -1);
        }
        public async Task WriteToInterleavedFileAsync_MultipleSequences_ShouldRejectLineLengthOfZero()
        {
            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 };

            await SequenceFileWriter.WriteToInterleavedFileAsync(sequences, Path, 0);
        }
 public async Task WriteToInterleavedFileAsync_SingleSequence_ShouldRejectNullData()
 {
     await SequenceFileWriter.WriteToInterleavedFileAsync((Sequence)null, Path);
 }
 public async Task WriteToInterleavedFileAsync_MultipleSequences_ShouldRejectNullData()
 {
     await SequenceFileWriter.WriteToInterleavedFileAsync((IEnumerable <Sequence>) null, Path);
 }