Skip to content

Commit

Permalink
Merge pull request web-platform-tests#16 from suzyh/suzyh-upstream-de…
Browse files Browse the repository at this point in the history
…lay-endDelay

Fix expectations based on endDelay spec change
  • Loading branch information
suzyh committed Jul 18, 2016
2 parents e0ff23d + 3d462b3 commit 5f29082
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
{ at: 1, expect: 0 },
{ at: 2, expect: 0.1 },
{ at: 9, expect: 0.8 },
{ at: 10, expect: 1 },
{ at: 11, expect: 1 },
{ at: 10, expect: 0.9 },
{ at: 11, expect: 0.9 },
],
}, 'Test progress with positive delay and negative endDelay');

Expand Down Expand Up @@ -85,9 +85,9 @@
{ at: 0, expect: 0.1 },
{ at: 1, expect: 0.2 },
{ at: 7, expect: 0.8 },
{ at: 8, expect: 1 },
{ at: 9, expect: 1 },
{ at: 10, expect: 1 },
{ at: 8, expect: 0.9 },
{ at: 9, expect: 0.9 },
{ at: 10, expect: 0.9 },
],
}, 'Test progress when delay and endDelay both negative');

Expand All @@ -100,12 +100,12 @@
},
expectations: [
{ at: -2, expect: 0 },
{ at: -1, expect: 1 },
{ at: 0, expect: 1 },
{ at: 5, expect: 1 },
{ at: 10, expect: 1 },
{ at: 11, expect: 1 },
{ at: 12, expect: 1 },
{ at: -1, expect: 0 },
{ at: 0, expect: 0 },
{ at: 5, expect: 0 },
{ at: 10, expect: 0 },
{ at: 11, expect: 0 },
{ at: 12, expect: 0 },
],
}, 'Test progress when negative endDelay eclipses delay and duration');

Expand Down

0 comments on commit 5f29082

Please sign in to comment.