Attempt to package CL unit testing with Nix
My first foray trying to package Common Lisp with Nix. I'm using @tazjin's buildLisp and other libraries, all of which I'm importing as `tpkgs`, and all of which have been a tremendous boon to my productivity.
This commit is contained in:
		
							parent
							
								
									55860debe5
								
							
						
					
					
						commit
						d262d30543
					
				
					 7 changed files with 128 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								common-lisp/unit-testing.lisp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								common-lisp/unit-testing.lisp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
(in-package #:cl-user)
 | 
			
		||||
(defpackage #:my-test
 | 
			
		||||
  (:documentation "Unit testing in Common Lisp.")
 | 
			
		||||
  (:use #:cl))
 | 
			
		||||
(in-package #:my-test)
 | 
			
		||||
 | 
			
		||||
(plan 3)
 | 
			
		||||
 | 
			
		||||
(ok (not (find 4 '(1 2 3))))
 | 
			
		||||
(is 4 4)
 | 
			
		||||
(isnt 1 #\1)
 | 
			
		||||
 | 
			
		||||
(finalize)
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue