Skip to content

Commit

Permalink
updated unit test to test for non-default delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Aug 25, 2023
1 parent 315c0f3 commit 5d8b61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scadnano_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,8 +1132,8 @@ def test_domain_delimiters_modifications(self) -> None:
strand_idt_dna_sequence = strand.idt_dna_sequence(domain_delimiter=' ')
self.assertEqual('/5Biosg/ AAAAA CCCC /iBiodT/ GGGGG /3Cy3Sp/', strand_idt_dna_sequence)

idt_content = design.to_idt_bulk_input_format(delimiter=',', domain_delimiter=' ')
self.assertEqual(f'{strand_name},/5Biosg/ AAAAA CCCC /iBiodT/ GGGGG /3Cy3Sp/,25nm,STD',
idt_content = design.to_idt_bulk_input_format(delimiter=';', domain_delimiter=' ')
self.assertEqual(f'{strand_name};/5Biosg/ AAAAA CCCC /iBiodT/ GGGGG /3Cy3Sp/;25nm;STD',
idt_content)

def test_to_idt_bulk_input_format__row_major_5p(self) -> None:
Expand Down

0 comments on commit 5d8b61d

Please sign in to comment.