Sha256: 0e1e122f001191e77d4d849f4e2dc2261a2bf187674aa78219a2c325b4a65f19
Contents?: true
Size: 939 Bytes
Versions: 379
Compression:
Stored size: 939 Bytes
Contents
pending :- current_prolog_flag(argv, ['--all'|_]). pending :- write('\nA TEST IS PENDING!\n'), fail. :- begin_tests(nucleotide_counting). test(empty_dna_strand_has_no_adenosine, condition(true)) :- nucleotide_count('', [('A', 0) | _ ]), !. test(repetitive_cytidine_gets_counted, condition(pending)) :- nucleotide_count('CCCCC', Counts), member(('C', 5), Counts), !. test(counts_only_thymidine, condition(pending)) :- nucleotide_count('GGGGGTAACCCGG', Counts), member(('T', 1), Counts), !. test(counts_only_thymidine, condition(pending)) :- nucleotide_count( 'AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC', [ ('A' ,20), ('C' , 12), ('G' , 17), ('T', 21) ]), !. test(fails_when_not_dns, [fail, condition(pending)]) :- nucleotide_count('JOHNNYAPPLESEED', _), !. :- end_tests(nucleotide_counting).
Version data entries
379 entries across 379 versions & 1 rubygems