Sha256: 04a4cc45035084a32851832e7ec919a62aaca737258d7a8123edc10710053bae

Contents?: true

Size: 958 Bytes

Versions: 35

Compression:

Stored size: 958 Bytes

Contents

{
  "nucleotide_counts": {
    "description": "count all nucleotides in a strand",
    "cases": [
      {
        "description": "empty strand",
        "strand": "",
        "expected": {
          "A": 0,
          "C": 0,
          "G": 0,
          "T": 0
        }
      },
      {
        "description": "strand with repeated nucleotide",
        "strand": "GGGGGGG",
        "expected": {
          "A": 0,
          "C": 0,
          "G": 7,
          "T": 0
        }
      },
      {
        "description": "strand with multiple nucleotides",
        "strand": "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC",
        "expected": {
          "A": 20,
          "C": 12,
          "G": 17,
          "T": 21
        }
      },
      {
        "description": "strand with invalid nucleotides",
        "strand": "AGXXACT",
        "expected": {
          "error": "Invalid nucleotide in strand"
        }
      }
    ]
  }
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
trackler-2.0.8.15 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.14 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.13 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.12 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.11 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.10 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.9 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.8 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.7 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.6 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.5 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.4 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.3 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.2 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.8.1 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.7.0 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.44 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.43 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.42 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.41 common/exercises/nucleotide-count/canonical-data.json