Skip to content

Commit

Permalink
fix triangle function
Browse files Browse the repository at this point in the history
fix triangle function logic
  • Loading branch information
BlacAmDK authored Jan 18, 2021
1 parent df5e58d commit c4ef10e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions koans-solved/triangle-project.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
(cond ((<= (+ min mid) max) (error 'triangle-error :sides (list a b c)))
((= max mid min) :equilateral)
((= max mid) :isosceles)
((= mid min) :isosceles)
(t :scalene))))

(define-test equilateral-triangles
Expand Down

0 comments on commit c4ef10e

Please sign in to comment.