Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-svg-anim-checks.js |
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-svg-anim-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-svg-anim-checks.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6800bc6e5231ac28d4f64bda88b6797fcc2b4b0f |
--- /dev/null |
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-svg-anim-checks.js |
@@ -0,0 +1,23 @@ |
+timing_test(function() { |
+ at(0, function() { |
+ assert_styles('.anim', {'x':'100px'}); |
+ }, "Autogenerated"); |
+ at(0.2, function() { |
+ assert_styles('.anim', {'x':'160px'}); |
+ }, "Autogenerated"); |
+ at(0.4, function() { |
+ assert_styles('.anim', {'x':'220px'}); |
+ }, "Autogenerated"); |
+ at(0.6000000000000001, function() { |
+ assert_styles('.anim', {'x':'280px'}); |
+ }, "Autogenerated"); |
+ at(0.8, function() { |
+ assert_styles('.anim', {'x':'340px'}); |
+ }, "Autogenerated"); |
+ at(1, function() { |
+ assert_styles('.anim', {'x':'400px'}); |
+ }, "Autogenerated"); |
+ at(1.2, function() { |
+ assert_styles('.anim', {'x':'400px'}); |
+ }, "Autogenerated"); |
+}, "Autogenerated checks."); |