Sha256: 50780a0cc19edc3fd3e5c26486c7e91e2171e8bc61766b0ce71a4ca1df908bc6

Contents?: true

Size: 657 Bytes

Versions: 80

Compression:

Stored size: 657 Bytes

Contents

package secret

// Source: exercism/problem-specifications
// Commit: a9e4df8 secret-handshake: Apply new "input" policy
// Problem Specifications Version: 1.2.0

type secretHandshakeTest struct {
	code uint
	h    []string
}

var tests = []secretHandshakeTest{
	{1, []string{"wink"}},
	{2, []string{"double blink"}},
	{4, []string{"close your eyes"}},
	{8, []string{"jump"}},
	{3, []string{"wink", "double blink"}},
	{19, []string{"double blink", "wink"}},
	{24, []string{"jump"}},
	{16, []string{}},
	{15, []string{"wink", "double blink", "close your eyes", "jump"}},
	{31, []string{"jump", "close your eyes", "double blink", "wink"}},
	{0, []string{}},
}

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.179 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.178 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.177 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.176 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.175 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.174 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.173 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.172 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.171 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.170 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.169 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.167 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.166 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.165 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.164 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.163 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.162 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.161 tracks/go/exercises/secret-handshake/cases_test.go
trackler-2.2.1.160 tracks/go/exercises/secret-handshake/cases_test.go