Sha256: 7a6a696670d772f6d464a93b2ef0b00cfe9696c52a557502817e30d8107100e5
Contents?: true
Size: 1.68 KB
Versions: 87
Compression:
Stored size: 1.68 KB
Contents
{ "exercise": "nucleotide-count", "version": "1.3.0", "cases": [ { "description": "count all nucleotides in a strand", "cases": [ { "description": "empty strand", "property": "nucleotideCounts", "input": { "strand": "" }, "expected": { "A": 0, "C": 0, "G": 0, "T": 0 } }, { "description": "can count one nucleotide in single-character input", "property": "nucleotideCounts", "input": { "strand": "G" }, "expected": { "A": 0, "C": 0, "G": 1, "T": 0 } }, { "description": "strand with repeated nucleotide", "property": "nucleotideCounts", "input": { "strand": "GGGGGGG" }, "expected": { "A": 0, "C": 0, "G": 7, "T": 0 } }, { "description": "strand with multiple nucleotides", "property": "nucleotideCounts", "input": { "strand": "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC" }, "expected": { "A": 20, "C": 12, "G": 17, "T": 21 } }, { "description": "strand with invalid nucleotides", "property": "nucleotideCounts", "input": { "strand": "AGXXACT" }, "expected": { "error": "Invalid nucleotide in strand" } } ] } ] }
Version data entries
87 entries across 87 versions & 1 rubygems