Skip to content

Commit

Permalink
[irteus-demo.l] add test-test-extended-preview-control-0-QR
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoki-Hiraoka committed Aug 27, 2019
1 parent 36d6866 commit 1c96381
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions irteus/test/irteus-demo.l
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@
(assert
(every #'identity (test-preview-control-0 :preview-controller-class extended-preview-controller))))

(deftest test-test-extended-preview-control-0-QR
(assert
(every #'identity (mapcar #'(lambda (x y) (and (eps= (cadr (memq :zmp x)) (cadr (memq :zmp y)))
(eps= (cadr (memq :cog x)) (cadr (memq :cog y)))))
(test-preview-control-0 :preview-controller-class extended-preview-controller :q 1 :r 1e-6)
(test-preview-control-0 :preview-controller-class extended-preview-controller :q 1e1 :r 1e-5)))))

(deftest test-test-preview-control-1
(assert
(every #'identity (test-preview-control-1))))
Expand Down

0 comments on commit 1c96381

Please sign in to comment.