OSDN Git Service

Modify the Spec
authordhrname <dhrname@users.sourceforge.jp>
Sun, 19 Apr 2015 13:47:32 +0000 (22:47 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Sun, 19 Apr 2015 13:47:32 +0000 (22:47 +0900)
tool/Spec/spec/SvgDomSpec.js

index 1f78c4b..276d1af 100644 (file)
@@ -3464,6 +3464,13 @@ describe("SMIL Animation Spec", function() {
         var aset = attr.setValues(null, null, "1").to;\r
         aset.call();\r
         expect(aset.from[0]).toEqual(0);\r
+        \r
+        /*fromなしby アニメーション*/\r
+        expect(attr.setValues(null, null, null, "1").to.string).toBe("1");\r
+        expect(attr.setValues(null, null, null, "1").to.from[0]).toEqual(0);\r
+        var aset = attr.setValues(null, null, null, "1").to;\r
+        aset.call();\r
+        expect(aset.from[0]).toEqual(0);\r
       } );\r
       /*同値分割をして、有効同値クラスを調べておく (Equivalence partitioning, the following is the valid partion)*/\r
       it("should be this for the value (the valid partion on a spline mode )", function() {\r