| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | USING: math definitions help.topics help tools.test | 
					
						
							|  |  |  | prettyprint parser io.streams.string kernel source-files | 
					
						
							| 
									
										
										
										
											2008-09-02 02:53:28 -04:00
										 |  |  | assocs namespaces words io sequences eval accessors ;
 | 
					
						
							| 
									
										
										
										
											2008-03-01 17:00:45 -05:00
										 |  |  | IN: help.definitions.tests | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | [ ] [ \ + >link see ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |     [ 4 ] [ | 
					
						
							| 
									
										
										
										
											2008-03-01 17:00:45 -05:00
										 |  |  |         "IN: help.definitions.tests USING: help.syntax ; : hello ; HELP: hello \"test\" ; ARTICLE: \"hello\" \"world\" ; ARTICLE: \"hello2\" \"world\" ;" <string-reader> "foo" | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |         parse-stream drop
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-09-02 02:53:28 -04:00
										 |  |  |         "foo" source-file definitions>> first assoc-size
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |     ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     [ t ] [ "hello" articles get key? ] unit-test | 
					
						
							|  |  |  |     [ t ] [ "hello2" articles get key? ] unit-test | 
					
						
							|  |  |  |     [ t ] [ | 
					
						
							| 
									
										
										
										
											2008-03-03 17:44:24 -05:00
										 |  |  |         "hello" "help.definitions.tests" lookup "help" word-prop >boolean
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |     ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     [ 2 ] [ | 
					
						
							| 
									
										
										
										
											2008-03-01 17:00:45 -05:00
										 |  |  |         "IN: help.definitions.tests USING: help.syntax ; : hello ; ARTICLE: \"hello\" \"world\" ;" <string-reader> "foo" | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |         parse-stream drop
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-09-02 02:53:28 -04:00
										 |  |  |         "foo" source-file definitions>> first assoc-size
 | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |     ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     [ t ] [ "hello" articles get key? ] unit-test | 
					
						
							|  |  |  |     [ f ] [ "hello2" articles get key? ] unit-test | 
					
						
							|  |  |  |     [ f ] [ | 
					
						
							| 
									
										
										
										
											2008-03-03 17:44:24 -05:00
										 |  |  |         "hello" "help.definitions.tests" lookup "help" word-prop | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  |     ] unit-test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-03-01 17:00:45 -05:00
										 |  |  |     [ ] [ "IN: help.definitions.tests USING: help.syntax ; : xxx ; HELP: xxx ;" eval ] unit-test | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-11-22 02:24:05 -05:00
										 |  |  |     [ ] [ "xxx" "help.definitions.tests" lookup print-topic ] unit-test | 
					
						
							| 
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-03-03 17:44:24 -05:00
										 |  |  |     [ ] [ "xxx" "help.definitions.tests" lookup >link synopsis print ] unit-test | 
					
						
							| 
									
										
										
										
											2007-12-30 17:14:15 -05:00
										 |  |  | ] with-file-vocabs |