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

View File

@@ -0,0 +1,62 @@
### Empty
{
type => "tfn",
name => "removeNulls",
input => "",
output => "",
ret => 0,
},
### Nothing
{
type => "tfn",
name => "removeNulls",
input => "TestCase",
output => "TestCase",
ret => 0,
},
{
type => "tfn",
name => "removeNulls",
input => "Test\x01Case",
output => "Test\x01Case",
ret => 0,
},
### Basics
{
type => "tfn",
name => "removeNulls",
input => "\0TestCase",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "removeNulls",
input => "Test\0Case",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "removeNulls",
input => "Test\0\0Case",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "removeNulls",
input => "TestCase\0",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "removeNulls",
input => "\0Test\0Case\0",
output => "TestCase",
ret => 1,
},