Sha256: 07f2cd23ef989afa28a9027683cb86d797143e42e4082cf27540664e6982582b
Contents?: true
Size: 694 Bytes
Versions: 82
Compression:
Stored size: 694 Bytes
Contents
package lsproduct // Source: exercism/problem-specifications // Commit: 92b86a8 largest-series-product: Apply new "input" policy // Problem Specifications Version: 1.1.0 var tests = []struct { digits string span int product int64 ok bool }{ {"29", 2, 18, true}, {"0123456789", 2, 72, true}, {"576802143", 2, 48, true}, {"0123456789", 3, 504, true}, {"1027839564", 3, 270, true}, {"0123456789", 5, 15120, true}, {"73167176531330624919225119674426574742355349194934", 6, 23520, true}, {"0000", 2, 0, true}, {"99099", 3, 0, true}, {"123", 4, -1, false}, {"", 0, 1, true}, {"123", 0, 1, true}, {"", 1, -1, false}, {"1234a5", 2, -1, false}, {"12345", -1, -1, false}, }
Version data entries
82 entries across 82 versions & 1 rubygems