From 1c96381cb7384b8520436f99ac4d5f551a6f32c4 Mon Sep 17 00:00:00 2001 From: Naoki-Hiraoka Date: Mon, 26 Aug 2019 16:18:58 +0900 Subject: [PATCH] [irteus-demo.l] add test-test-extended-preview-control-0-QR --- irteus/test/irteus-demo.l | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/irteus/test/irteus-demo.l b/irteus/test/irteus-demo.l index cc97aac70..4b203490e 100644 --- a/irteus/test/irteus-demo.l +++ b/irteus/test/irteus-demo.l @@ -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))))