| Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js
|
| diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..997d8ef0c1f7722ee2cf05b7360ff95c2c23605f
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js
|
| @@ -0,0 +1,44 @@
|
| +timing_test(function() {
|
| + at(0, function() {
|
| + assert_styles('.anim', {'left':'100px'});
|
| + }, "Autogenerated");
|
| + at(0.25, function() {
|
| + assert_styles('.anim', {'left':'200px'});
|
| + }, "Autogenerated");
|
| + at(0.5, function() {
|
| + assert_styles('.anim', {'left':'300px'});
|
| + }, "Autogenerated");
|
| + at(0.75, function() {
|
| + assert_styles('.anim', {'left':'400px'});
|
| + }, "Autogenerated");
|
| + at(1, function() {
|
| + assert_styles('.anim', {'left':'500px'});
|
| + }, "Autogenerated");
|
| + at(1.25, function() {
|
| + assert_styles('.anim', {'left':'400px'});
|
| + }, "Autogenerated");
|
| + at(1.5, function() {
|
| + assert_styles('.anim', {'left':'300px'});
|
| + }, "Autogenerated");
|
| + at(1.75, function() {
|
| + assert_styles('.anim', {'left':'200px'});
|
| + }, "Autogenerated");
|
| + at(2, function() {
|
| + assert_styles('.anim', {'left':'100px'});
|
| + }, "Autogenerated");
|
| + at(2.25, function() {
|
| + assert_styles('.anim', {'left':'200px'});
|
| + }, "Autogenerated");
|
| + at(2.5, function() {
|
| + assert_styles('.anim', {'left':'300px'});
|
| + }, "Autogenerated");
|
| + at(2.75, function() {
|
| + assert_styles('.anim', {'left':'400px'});
|
| + }, "Autogenerated");
|
| + at(3.0, function() {
|
| + assert_styles('.anim', {'left':'500px'});
|
| + }, "Autogenerated");
|
| + at(4.0, function() {
|
| + assert_styles('.anim', {'left':'500px'});
|
| + }, "Autogenerated");
|
| +}, "Autogenerated checks.");
|
|
|