1 ! Copyright (C) 2010 Dmitry Shubin.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test boyer-moore ;
6 [ 0 ] [ "qwerty" "" search ] unit-test
7 [ 0 ] [ "" "" search ] unit-test
8 [ f ] [ "qw" "qwerty" search ] unit-test
9 [ 3 ] [ "qwerty" "r" search ] unit-test
10 [ 8 ] [ "qwerasdfqwer" 2 "qwe" search-from ] unit-test