Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/luhn/.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1
1.7.0
3 changes: 2 additions & 1 deletion exercises/luhn/luhn.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env tclsh
set version 1.6.1
set version 1.7.0
package require tcltest
namespace import ::tcltest::*
source "luhn.tcl"
Expand Down Expand Up @@ -58,6 +58,7 @@ if {$::argv0 eq [info script]} {
luhn-15 "091" true "input digit 9 is correctly converted to output digit 9"
luhn-16 "055b 444 285" false "using ascii value for non-doubled non-digit isn't allowed"
luhn-17 ":9" false "using ascii value for doubled non-digit isn't allowed"
luhn-18 "1 2345 6789 1234 5678 9012" false "invalid long number with an even remainder"
}

foreach {name input result description} $cases {
Expand Down