Some reorg of tests.

This commit is contained in:
brectanus
2007-12-19 23:41:49 +00:00
parent 61e4623bae
commit a04e03b2c7
25 changed files with 266 additions and 238 deletions

View File

@@ -1,7 +1,35 @@
### Empty
{
type => "operators",
type => "op",
name => "verifyCC",
param => "\d{15,16}",
input => "1234567890123456",
param => "\\d{15,16}",
input => "",
rc => 0,
},
### Non-matching
{
type => "op",
name => "verifyCC",
param => "\\d{15,16}",
input => "TestCase",
rc => 0,
},
### Bad CC#
{
type => "op",
name => "verifyCC",
param => "\\d{15,16}",
input => "01234567890123456",
rc => 0,
},
### Good CC#
{
type => "op",
name => "verifyCC",
param => "\\d{15,16}",
input => "372802490654059",
rc => 0,
},