Sha256: 32c4fa06f5add266fc35c40e74d76dbaa13101f181b0453a7e8fffba0ac5a6cc

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

timing_test(function() {
  at(0 * 1000, function() {
    assert_styles(".anim",{'x':'0px'});
    assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 0, 0}'});
  });
  at(1 * 1000, function() {
    assert_styles(".anim",{'x':'133.3px'});
    assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 66.67, 66.67}'});
  });
  at(2 * 1000, function() {
    assert_styles(".anim",{'x':'316.7px'});
    assert_styles(".anim2",{'ctm':'{0.9239, 0.3827, -0.3827, 0.9239, 156.4, 142.9}'});
  });
  at(3 * 1000, function() {
    assert_styles(".anim",{'x':'500px'});
    assert_styles(".anim2",{'ctm':'{0.7071, 0.7071, -0.7071, 0.7071, 235.4, 235.4}'});
  });
  at(4 * 1000, function() {
    assert_styles(".anim",{'x':'550px'});
    assert_styles(".anim2",{'ctm':'{0.3827, 0.9239, -0.9239, 0.3827, 228.7, 269.3}'});
  });
  at(5 * 1000, function() {
    assert_styles(".anim",{'x':'600px'});
    assert_styles(".anim2",{'ctm':'{0, 1, -1, 0, 200, 300}'});
  });
}, "Auto generated tests");

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
polymer-paper-rails-0.2.0 app/assets/components/web-animations-js/test/testcases/auto-test-compositor-checks.js
polymer-core-rails-0.2.0 app/assets/components/web-animations-js/test/testcases/auto-test-compositor-checks.js