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.91 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.90 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.89 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.88 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.87 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.86 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.85 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.84 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.83 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.82 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.81 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.80 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.79 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.78 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.77 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.76 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.75 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.74 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.73 problem-specifications/exercises/nucleotide-count/canonical-data.json
trackler-2.2.1.72 problem-specifications/exercises/nucleotide-count/canonical-data.json