OSDN Git Service

Modify the Spec for the object
authordhrname <dhrname@users.sourceforge.jp>
Tue, 10 Mar 2015 13:54:07 +0000 (22:54 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Tue, 10 Mar 2015 13:54:07 +0000 (22:54 +0900)
tool/Spec/spec/SvgDomSpec.js

index 01c439f..f1f3b71 100644 (file)
@@ -3168,6 +3168,15 @@ describe("SMIL Animation Spec", function() {
       calc.to.degit = 1;\r
       expect(calc.call()(0.1)).toEqual("10.0s");\r
       expect(calc.keyTime).toEqual(0.2);\r
+\r
+      calc.to = base("$from").up();\r
+      calc.to.from = base("$from").up();    \r
+      calc.mode = "paced";\r
+      calc.norm = 100;\r
+      calc.to.from.string = "rgb(0, 0, 20)";\r
+      calc.to.string = "rgb(0, 0, 0)";\r
+      expect(calc.call()(0.1)).toEqual("rgb(0, 0, 10)");\r
+      expect(calc.keyTime).toEqual(0.2);\r
     } );\r
     /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
     it("should be this for the value (the invalid partion)", function() {\r