Sha256: c8ef5423b2e657bbc81e2412dbfcdebeb7febef7ad92c6facb6daeae56ceafa6

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 KB

Contents

{
   "#": [
   	  "The tests deliberately check that single characters are encoded without count."
   ],
   "cases": [
      {
         "description": "encode simple",
         "input": "AABBBCCCC",
         "expected": "2A3B4C"
      },
      {
        "description": "decode simple",
        "input": "2A3B4C",
        "expected": "AABBBCCCC"
      },
      {
        "description": "encode with single values",
        "input": "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWB",
        "expected": "12WB12W3B24WB"
      },
      {
        "description": "decode with single values",
        "input": "12WB12W3B24WB",
        "expected": "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWB"
      },
      {
        "description": "decode(encode(...)) combination",
        "input": "zzz ZZ  zZ",
        "expected": "zzz ZZ  zZ"
      },
      {
        "description": "encode unicode",
        "input": "⏰⚽⚽⚽⭐⭐⏰",
        "expected": "⏰3⚽2⭐⏰"
      },
      {
        "description": "decode unicode",
        "input": "⏰3⚽2⭐⏰",
        "expected": "⏰⚽⚽⚽⭐⭐⏰"
      }
   ]
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
trackler-2.0.0.2 common/exercises/run-length-encoding/canonical-data.json
trackler-2.0.0.1 common/exercises/run-length-encoding/canonical-data.json
trackler-2.0.0.0 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.4.1 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.4.0 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.3.0 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.2.1 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.2.0 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.1.2 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.1.1 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.1.0 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.0.1 common/exercises/run-length-encoding/canonical-data.json
trackler-1.0.0 common/exercises/run-length-encoding/canonical-data.json