Sha256: 1b693da99489b952995cd0619135bc61aa3329a01ac356ab15fe91c5f14ed0ac

Contents?: true

Size: 1.75 KB

Versions: 114

Compression:

Stored size: 1.75 KB

Contents

{
   "#": [
     "Language implementations vary on the issue of invalid input data.",
     "A language may elect to simplify this task by only presenting valid",
     "test cases.  For languages handling invalid input data as",
     "error conditions, invalid test cases are included here and are",
     "indicated with an expected value of null.  Note however that null is",
     "simply an indication here in the JSON.  Actually returning null from",
     "a rna-transcription function may or may not be idiomatic in a language.",
     "Language idioms of errors or exceptions should be followed.",
     "Alternative interpretations such as ignoring excess length at the end",
     "are not represented here."
   ],
   "cases": [
      {
         "description": "rna complement of cytosine is guanine",
         "dna" : "C",
         "expected": "G"
      },
      {
         "description": "rna complement of guanine is cytosine",
         "dna": "G",
         "expected": "C"
      },
      {
         "description": "rna complement of thymine is adenine",
         "dna": "T",
         "expected": "A"
      },
      {
         "description": "rna complement of adenine is uracil",
         "dna": "A",
         "expected": "U"
      },
      {
         "description": "rna complement",
         "dna": "ACGTGGTCTTAA",
         "expected": "UGCACCAGAAUU"
      },
      {
         "description": "dna correctly handles invalid input",
         "dna": "U",
         "expected": null
      },
      {
         "description": "dna correctly handles completely invalid input",
         "dna": "XXX",
         "expected": null
      },
      {
         "description": "dna correctly handles partially invalid input",
         "dna": "ACGTXXXCTTAA",
         "expected": null
      }
   ]
}

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
trackler-2.0.8.13 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.12 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.11 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.10 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.9 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.8 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.7 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.6 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.5 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.4 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.3 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.2 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.8.1 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.7.0 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.44 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.43 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.42 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.41 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.40 common/exercises/rna-transcription/canonical-data.json
trackler-2.0.6.39 common/exercises/rna-transcription/canonical-data.json