| 
									
										
										
										
											2008-12-12 01:33:05 -05:00
										 |  |  | ! Copyright (C) 2008 Slava Pestov. | 
					
						
							|  |  |  | ! See http://factorcode.org/license.txt for BSD license. | 
					
						
							| 
									
										
										
										
											2009-02-02 14:44:44 -05:00
										 |  |  | USING: core-foundation.strings core-foundation tools.test kernel | 
					
						
							|  |  |  | strings ;
 | 
					
						
							| 
									
										
										
										
											2008-12-12 01:33:05 -05:00
										 |  |  | IN: core-foundation | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ "Hello" <CFString> CFRelease ] unit-test | 
					
						
							|  |  |  | { "Hello" } [ "Hello" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test | 
					
						
							|  |  |  | { "Hello\u003456" } [ "Hello\u003456" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test | 
					
						
							|  |  |  | { "Hello\u013456" } [ "Hello\u013456" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test | 
					
						
							|  |  |  | { } [ "\0" <CFString> CFRelease ] unit-test | 
					
						
							|  |  |  | { "\0" } [ "\0" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test | 
					
						
							| 
									
										
										
										
											2009-02-02 14:44:44 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | ! This shouldn't fail | 
					
						
							| 
									
										
										
										
											2015-07-03 12:39:59 -04:00
										 |  |  | { } [ { 0x123456 } >string <CFString> CFRelease ] unit-test |