From: dhrname Date: Tue, 10 Mar 2015 13:54:07 +0000 (+0900) Subject: Modify the Spec for the object X-Git-Tag: version22~273 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=eea819ce53a2bc6b60bcddfd8a922d47360f71e0;p=sie%2Fsie.git Modify the Spec for the object --- 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() {