public void WriteToSequentialFile_SingleSequence_ShouldRejectNullPath() { var identifier = new LocalIdentifier("value"); var header = new Header(identifier); IActualSequence actualSequence = NucleicAcidSequence.Parse("ATCG"); var sequence = new Sequence(header, actualSequence); SequenceFileWriter.WriteToSequentialFile(sequence, null); }
public void WriteToSequentialFile_MultipleSequences_ShouldRejectNullPath() { 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.WriteToSequentialFile(sequences, null); }
public void WriteToSequentialFile_MultipleSequences_ShouldRejectNullData() { SequenceFileWriter.WriteToSequentialFile((IEnumerable <Sequence>)null, Path); }
public void WriteToSequentialFile_SingleSequence_ShouldRejectNullData() { SequenceFileWriter.WriteToSequentialFile((Sequence)null, Path); }