From 4e2d34a8a73077f399e60c8f1d998a397c8b7d6c Mon Sep 17 00:00:00 2001 From: dhrname Date: Sun, 19 Apr 2015 22:47:32 +0900 Subject: [PATCH] Modify the Spec --- tool/Spec/spec/SvgDomSpec.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tool/Spec/spec/SvgDomSpec.js b/tool/Spec/spec/SvgDomSpec.js index 1f78c4b..276d1af 100644 --- a/tool/Spec/spec/SvgDomSpec.js +++ b/tool/Spec/spec/SvgDomSpec.js @@ -3464,6 +3464,13 @@ describe("SMIL Animation Spec", function() { var aset = attr.setValues(null, null, "1").to; aset.call(); expect(aset.from[0]).toEqual(0); + + /*fromなしby アニメーション*/ + expect(attr.setValues(null, null, null, "1").to.string).toBe("1"); + expect(attr.setValues(null, null, null, "1").to.from[0]).toEqual(0); + var aset = attr.setValues(null, null, null, "1").to; + aset.call(); + expect(aset.from[0]).toEqual(0); } ); /*同値分割をして、有効同値クラスを調べておく (Equivalence partitioning, the following is the valid partion)*/ it("should be this for the value (the valid partion on a spline mode )", function() { -- 2.11.0