From eea819ce53a2bc6b60bcddfd8a922d47360f71e0 Mon Sep 17 00:00:00 2001 From: dhrname Date: Tue, 10 Mar 2015 22:54:07 +0900 Subject: [PATCH] Modify the Spec for the object --- tool/Spec/spec/SvgDomSpec.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tool/Spec/spec/SvgDomSpec.js b/tool/Spec/spec/SvgDomSpec.js index 01c439f..f1f3b71 100644 --- a/tool/Spec/spec/SvgDomSpec.js +++ b/tool/Spec/spec/SvgDomSpec.js @@ -3168,6 +3168,15 @@ describe("SMIL Animation Spec", function() { calc.to.degit = 1; expect(calc.call()(0.1)).toEqual("10.0s"); expect(calc.keyTime).toEqual(0.2); + + calc.to = base("$from").up(); + calc.to.from = base("$from").up(); + calc.mode = "paced"; + calc.norm = 100; + calc.to.from.string = "rgb(0, 0, 20)"; + calc.to.string = "rgb(0, 0, 0)"; + expect(calc.call()(0.1)).toEqual("rgb(0, 0, 10)"); + expect(calc.keyTime).toEqual(0.2); } ); /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/ it("should be this for the value (the invalid partion)", function() { -- 2.11.0