Sha256: f36e6d81905162bdd2cd45a8d3f5310813f5801a2cc140c5e13a2f2c0bde1635
Contents?: true
Size: 489 Bytes
Versions: 20
Compression:
Stored size: 489 Bytes
Contents
module rna_transcription; import std.exception : assertThrown; unittest { const int allTestsEnabled = 0; assert(dnaComplement("C") == "G"); static if (allTestsEnabled) { assert(dnaComplement("G") == "C"); assert(dnaComplement("T") == "A"); assert(dnaComplement("A") == "U"); assert(dnaComplement("ACGTGGTCTTAA") == "UGCACCAGAAUU"); assertThrown(dnaComplement("U")); assertThrown(dnaComplement("XXX")); assertThrown(dnaComplement("ACGTXXXCTTAA")); } }
Version data entries
20 entries across 20 versions & 1 rubygems