Sha256: 42b00a9b531f7fd7f0ccfff38b1f4ebb8afcc944fadb40f22a2547da26f2593b
Contents?: true
Size: 773 Bytes
Versions: 396
Compression:
Stored size: 773 Bytes
Contents
#include "rna_transcription.h" #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_CASE(transcribes_cytidine_to_guanosine) { BOOST_REQUIRE_EQUAL('G', transcription::to_rna('C')); } #if defined(EXERCISM_RUN_ALL_TESTS) BOOST_AUTO_TEST_CASE(transcribes_guanosine_to_cytidine) { BOOST_REQUIRE_EQUAL('C', transcription::to_rna('G')); } BOOST_AUTO_TEST_CASE(transcribes_adenosine_to_uracil) { BOOST_REQUIRE_EQUAL('U', transcription::to_rna('A')); } BOOST_AUTO_TEST_CASE(transcribes_thymidine_to_adenosine) { BOOST_REQUIRE_EQUAL('A', transcription::to_rna('T')); } BOOST_AUTO_TEST_CASE(transcribes_all_dna_nucleotides_to_their_rna_complements) { BOOST_REQUIRE_EQUAL("UGCACCAGAAUU", transcription::to_rna("ACGTGGTCTTAA")); } #endif
Version data entries
396 entries across 396 versions & 1 rubygems