Adding more unit tests for lisp
							parent
							
								
									3e8e976bee
								
							
						
					
					
						commit
						82cdbdeb0e
					
				| 
						 | 
				
			
			@ -7,3 +7,15 @@ IN: lisp.test
 | 
			
		|||
{ [ "aoeu" 2 1 T{ lisp-symbol f "foo" } ] } [
 | 
			
		||||
  "(foo 1 2 \"aoeu\")" lisp-string>factor
 | 
			
		||||
] unit-test
 | 
			
		||||
 | 
			
		||||
init-env
 | 
			
		||||
 | 
			
		||||
"+" [ first2 + ] lisp-define
 | 
			
		||||
 | 
			
		||||
{ [ first2 + ] } [
 | 
			
		||||
  "+" lisp-get
 | 
			
		||||
] unit-test
 | 
			
		||||
 | 
			
		||||
{ 3 } [
 | 
			
		||||
  "((lambda (x y) (+ x y)) 1 2)" lisp-string>factor call
 | 
			
		||||
] unit-test
 | 
			
		||||
		Loading…
	
		Reference in New Issue