This commit is contained in:
brenosilva
2011-01-06 19:18:48 +00:00
parent e3f0a7f670
commit 47c791938f
196 changed files with 79551 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
### Empty
{
type => "tfn",
name => "trim",
input => "",
output => "",
ret => 0,
},
### Nothing
{
type => "tfn",
name => "trim",
input => "TestCase",
output => "TestCase",
ret => 0,
},
{
type => "tfn",
name => "trim",
input => "Test\0Case",
output => "Test\0Case",
ret => 0,
},
### Basics
{
type => "tfn",
name => "trim",
input => " TestCase",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "trim",
input => "TestCase ",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "trim",
input => " TestCase ",
output => "TestCase",
ret => 1,
},
{
type => "tfn",
name => "trim",
input => " Test Case ",
output => "Test Case",
ret => 1,
},
{
type => "tfn",
name => "trim",
input => " Test \0 Case ",
output => "Test \0 Case",
ret => 1,
},
{
type => "tfn",
name => "trim",
input => " Test \0 Case \r\n ",
output => "Test \0 Case",
ret => 1,
},