コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public void WriteToSequentialFile_MultipleSequences_ShouldRejectNullData()
 {
     SequenceFileWriter.WriteToSequentialFile((IEnumerable <Sequence>)null, Path);
 }
コード例 #4
0
 public void WriteToSequentialFile_SingleSequence_ShouldRejectNullData()
 {
     SequenceFileWriter.WriteToSequentialFile((Sequence)null, Path);
 }