Sha256: eafa194103b8aa16414b8a9d355f262959211fef8c2011169fc179ec8657f490
Contents?: true
Size: 713 Bytes
Versions: 26
Compression:
Stored size: 713 Bytes
Contents
package reverse // Source: exercism/problem-specifications // Commit: ae82c90 More consistent reverse-string canonical data // Problem Specifications Version: 1.0.1 var testCases = []struct { description string input string expected string }{ { description: "an empty string", input: "", expected: "", }, { description: "a word", input: "robot", expected: "tobor", }, { description: "a capitalized word", input: "Ramen", expected: "nemaR", }, { description: "a sentence with punctuation", input: "I'm hungry!", expected: "!yrgnuh m'I", }, { description: "a palindrome", input: "racecar", expected: "racecar", }, }
Version data entries
26 entries across 26 versions & 1 rubygems