Sha256: db19cf8f97b23f8dc05661a7f5d440cf9080e08ac946a037b19622f7adf9ea95
Contents?: true
Size: 1.82 KB
Versions: 22
Compression:
Stored size: 1.82 KB
Contents
{ "#": [ "The expected outputs are represented as arrays of strings to improve readability in this JSON file.", "Your track may choose whether to present the input as a single string (concatenating all the lines) or as the list.", "The inputs are NOT separately provided, as they are simply generated by removing all numbers from the expected outputs." ], "cases": [ { "description": "no rows", "expected": [] }, { "description": "no columns", "expected": [""] }, { "description": "no mines", "expected": [ " ", " ", " " ] }, { "description": "board with only mines", "expected": [ "***", "***", "***" ] }, { "description": "mine surrounded by spaces", "expected": [ "111", "1*1", "111" ] }, { "description": "space surrounded by mines", "expected": [ "***", "*8*", "***" ] }, { "description": "horizontal line", "expected": ["1*2*1"] }, { "description": "horizontal line, mines at edges", "expected": ["*1 1*"] }, { "description": "vertical line", "expected": [ "1", "*", "2", "*", "1" ] }, { "description": "vertical line, mines at edges", "expected": [ "*", "1", " ", "1", "*" ] }, { "description": "cross", "expected": [ " 2*2 ", "25*52", "*****", "25*52", " 2*2 " ] }, { "description": "large board", "expected": [ "1*22*1", "12*322", " 123*2", "112*4*", "1*22*2", "111111" ] } ] }
Version data entries
22 entries across 22 versions & 1 rubygems