Sha256: 822920c5e3b51d15a4d7f109a76a9428e40ae07ec9f5621f5efac70950a86eb9

Contents?: true

Size: 1009 Bytes

Versions: 2

Compression:

Stored size: 1009 Bytes

Contents

timing_test(function() {
  at(0 * 1000, function() {
    assert_styles(".anim",{'width':'50px'});
  });
  at(0.5 * 1000, function() {
    assert_styles(".anim", [
      {'width':'81.25px'},
      {'width':'81.25px'},
      {'width':'137.5px'},
      {'width':'81.25px'},
      {'width':'95.3125px'},
      {'width':'95.3125px'},
      {'width':'95.3125px'},
    ]);
  });
  at(1 * 1000, function() {
    assert_styles(".anim", [
      {'width':'150px'},
      {'width':'150px'},
      {'width':'225px'},
      {'width':'150px'},
      {'width':'168.75px'},
      {'width':'168.75px'},
      {'width':'168.75px'},
    ]);
  });
  at(1.5 * 1000, function() {
    assert_styles(".anim", [
      {'width':'256.25px'},
      {'width':'256.25px'},
      {'width':'312.5px'},
      {'width':'256.25px'},
      {'width':'270.3125px'},
      {'width':'270.3125px'},
      {'width':'270.3125px'},
    ]);
  });
  at(2 * 1000, function() {
    assert_styles(".anim",{'width':'400px'});
  });
}, "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-calc-checks.js
polymer-core-rails-0.2.0 app/assets/components/web-animations-js/test/testcases/auto-test-calc-checks.js