]> gitweb.factorcode.org Git - factor.git/blob - basis/core-foundation/strings/strings-tests.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / basis / core-foundation / strings / strings-tests.factor
1 ! Copyright (C) 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: core-foundation.strings core-foundation tools.test kernel ;
4 IN: core-foundation
5
6 [ ] [ "Hello" <CFString> CFRelease ] unit-test
7 [ "Hello" ] [ "Hello" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test
8 [ "Hello\u003456" ] [ "Hello\u003456" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test
9 [ "Hello\u013456" ] [ "Hello\u013456" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test