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.6.40 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.39 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.38 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.37 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.36 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.35 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.34 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.33 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.32 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.31 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.30 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.29 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.28 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.27 common/exercises/nucleotide-count/canonical-data.json
trackler-2.0.6.26 common/exercises/nucleotide-count/canonical-data.json