Add initial unit testing framework. See #438.

This commit is contained in:
brectanus
2007-12-19 00:09:30 +00:00
parent 2657154eaa
commit 499c3f3167
54 changed files with 2249 additions and 3 deletions

View File

@@ -0,0 +1,40 @@
### Empty
{
type => "tfns",
name => "lowercase",
input => "",
output => "",
ret => 0,
},
### Nothing
{
type => "tfns",
name => "lowercase",
input => "testcase",
output => "testcase",
ret => 0,
},
{
type => "tfns",
name => "lowercase",
input => "test\0case",
output => "test\0case",
ret => 0,
},
### Basic
{
type => "tfns",
name => "lowercase",
input => "TestCase",
output => "testcase",
ret => 1,
},
{
type => "tfns",
name => "lowercase",
input => "Test\0Case",
output => "test\0case",
ret => 1,
},