this.state = begin;\r
}\r
} else if (state === begin) {\r
- if (startTime === endTime) {\r
- /*開始時刻と終了時刻が一致したときは、直接BEGINNING状態からENDING状態へ移行*/\r
+ if (endTime >= cacheBegin) {\r
+ /*終了時刻にもう到達したときは、直接BEGINNING状態からENDING状態へ移行*/\r
this.state = end;\r
} else {\r
this.state = play;\r
var $list = begin.$list;\r
expect(begin.$list).toBe($list);\r
expect(begin.updateList().$list).not.toBe($list);\r
- console.log(begin.$activate);\r
} );\r
/*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
it("should be this for the value (the invalid partion)", function() {\r