OSDN Git Service

Modify the Spec for a addLine method
authordhrname <dhrname@users.sourceforge.jp>
Wed, 21 Jan 2015 14:29:52 +0000 (23:29 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Wed, 21 Jan 2015 14:29:52 +0000 (23:29 +0900)
tool/Spec/spec/SvgDomSpec.js

index d6c559f..78e3665 100644 (file)
@@ -2064,6 +2064,11 @@ describe("SMIL Animation Spec", function() {
       expect(frame.addLine(0, 0)).toBe(true);\r
       expect(frame.addLine(null, null)).toBe(false);\r
       expect(frame.addLine(0, null)).toBe(false);\r
+      expect(frame.addLine(null, 0)).toBe(false);\r
+      \r
+      var timeline = frame.timelines[0];\r
+      expect(timeline.begin).toBe(0);\r
+      expect(timeline.activetime).toBe(0);\r
     });\r
     /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
     it("should be this for the value (the invalid partion)", function() {\r