Sha256: f41eb37cc6c34c6cc4f841b6278f8499bced4ce7899cc183679bdd3900aca0fb
Contents?: true
Size: 515 Bytes
Versions: 25
Compression:
Stored size: 515 Bytes
Contents
package prime // Source: exercism/problem-specifications // Commit: e82cbcd nth-prime: Use object instead of bool for invalid value (#969) // Problem Specifications Version: 2.0.0 var tests = []struct { description string n int p int ok bool }{ { "first prime", 1, 2, true, }, { "second prime", 2, 3, true, }, { "sixth prime", 6, 13, true, }, { "big prime", 10001, 104743, true, }, { "there is no zeroth prime", 0, 0, false, }, }
Version data entries
25 entries across 25 versions & 1 rubygems