Sha256: 789f8dc3518b52c723d8d14d33f6d9a42a5c75f3432b41e34f3e8af3d6b4640e
Contents?: true
Size: 742 Bytes
Versions: 74
Compression:
Stored size: 742 Bytes
Contents
package reverse // Source: exercism/problem-specifications // Commit: 2f77985 reverse-string: apply "input" policy // Problem Specifications Version: 1.1.0 type reverseTestCase struct { description string input string expected string } var testCases = []reverseTestCase{ { 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
74 entries across 74 versions & 1 rubygems