modern-tests: Add some unit tests.

modern-harvey2
Doug Coleman 2017-08-26 01:25:23 -05:00
parent 317c74193d
commit 2d77edf9a2
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: modern modern.slices tools.test ;
IN: modern.tests
{
{ { "!" "" } }
} [ "!" string>literals >strings ] unit-test
{
{ { "!" " lol" } }
} [ "! lol" string>literals >strings ] unit-test
{
{ "lol!" }
} [ "lol!" string>literals >strings ] unit-test
{
{ { "!" "lol" } }
} [ "!lol" string>literals >strings ] unit-test