Sha256: 6b7e7978766b1a1650b7496397c213bf328b8953dcd08a524b572d4a28b3e2a9

Contents?: true

Size: 1.51 KB

Versions: 45

Compression:

Stored size: 1.51 KB

Contents

{
  "exercise": "nucleotide-count",
  "version": "1.2.0",
  "cases": [
    {
      "description": "count all nucleotides in a strand",
      "cases": [
        {
          "description": "empty strand",
          "property": "nucleotideCounts",
          "strand": "",
          "expected": {
            "A": 0,
            "C": 0,
            "G": 0,
            "T": 0
          }
        },
        {
          "description": "can count one nucleotide in single-character input",
          "property": "nucleotideCounts",
          "strand": "G",
          "expected": {
            "A": 0,
            "C": 0,
            "G": 1,
            "T": 0
          }
        },
        {
          "description": "strand with repeated nucleotide",
          "property": "nucleotideCounts",
          "strand": "GGGGGGG",
          "expected": {
            "A": 0,
            "C": 0,
            "G": 7,
            "T": 0
          }
        },
        {
          "description": "strand with multiple nucleotides",
          "property": "nucleotideCounts",
          "strand": "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC",
          "expected": {
            "A": 20,
            "C": 12,
            "G": 17,
            "T": 21
          }
        },
        {
          "description": "strand with invalid nucleotides",
          "property": "nucleotideCounts",
          "strand": "AGXXACT",
          "expected": {
            "error": "Invalid nucleotide in strand"
          }
        }
      ]
    }
  ]
}

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
trackler-2.2.1.51 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.50 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.49 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.48 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.47 problem-specifications/exercises/nucleotide-count/canonical-data.json