Some more reorg of tests.

This commit is contained in:
brectanus
2007-12-19 23:43:51 +00:00
parent a04e03b2c7
commit 3a8e0a4dfd
51 changed files with 14 additions and 3 deletions

35
apache2/t/op/verifyCC.t Normal file
View File

@@ -0,0 +1,35 @@
### Empty
{
type => "op",
name => "verifyCC",
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,
},