Sha256: f57169da7d561337bb0614083f4fbe0048060acaeb5749daa6270ac5cba52f49
Contents?: true
Size: 370 Bytes
Versions: 81
Compression:
Stored size: 370 Bytes
Contents
package atbash import "testing" func TestAtbash(t *testing.T) { for _, test := range tests { actual := Atbash(test.s) if actual != test.expected { t.Errorf("Atbash(%s): expected %s, actual %s", test.s, test.expected, actual) } } } func BenchmarkAtbash(b *testing.B) { for i := 0; i < b.N; i++ { for _, test := range tests { Atbash(test.s) } } }
Version data entries
81 entries across 81 versions & 1 rubygems