text: /**
   * Copyright 2017 Google Inc.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *      http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  timing_test(function() {
    at(0 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(255, 0, 0)'},
        {'background-color':'rgb(176, 196, 222)'},
        {'background-color':'rgb(0, 128, 0)'},
        {'background-color':'rgba(0, 0, 0, 0)'},
        {'background-color':'rgba(255, 0, 255, 0)'},
        {'background-color':'rgb(0, 0, 0)'},
        {'background-color':'rgb(0, 0, 0)'},
      ]);
    });
    at(0.25 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(223, 16, 0)'},
        {'background-color':'rgb(154, 188, 194)'},
        {'background-color':'rgb(128, 128, 0)'},
        {'background-color':'rgba(255, 255, 255, 0.2471)'},
        {'background-color':'rgba(255, 255, 255, 0.2471)'},
        {'background-color':'rgb(32, 32, 32)'},
        {'background-color':'rgb(32, 32, 32)'},
      ]);
    });
    at(0.5 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(191, 32, 0)'},
        {'background-color':'rgb(132, 179, 167)'},
        {'background-color':'rgb(255, 128, 0)'},
        {'background-color':'rgba(255, 255, 255, 0.498)'},
        {'background-color':'rgba(255, 255, 255, 0.498)'},
        {'background-color':'rgb(64, 64, 64)'},
        {'background-color':'rgb(64, 64, 64)'},
      ]);
    });
    at(0.75 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(159, 48, 0)'},
        {'background-color':'rgb(110, 171, 139)'},
        {'background-color':'rgb(191, 128, 64)'},
        {'background-color':'rgba(255, 255, 255, 0.749)'},
        {'background-color':'rgba(255, 255, 255, 0.749)'},
        {'background-color':'rgb(96, 96, 96)'},
        {'background-color':'rgb(96, 96, 96)'},
      ]);
    });
    at(1 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(128, 64, 0)'},
        {'background-color':'rgb(88, 162, 111)'},
        {'background-color':'rgb(128, 128, 128)'},
        {'background-color':'rgb(255, 255, 255)'},
        {'background-color':'rgb(255, 255, 255)'},
        {'background-color':'rgb(128, 128, 128)'},
        {'background-color':'rgb(128, 128, 128)'},
      ]);
    });
    at(1.25 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(96, 80, 0)'},
        {'background-color':'rgb(66, 154, 83)'},
        {'background-color':'rgb(64, 128, 191)'},
        {'background-color':'rgba(255, 255, 255, 0.749)'},
        {'background-color':'rgba(255, 255, 255, 0.749)'},
        {'background-color':'rgb(159, 159, 159)'},
        {'background-color':'rgb(159, 159, 159)'},
      ]);
    });
    at(1.5 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(64, 96, 0)'},
        {'background-color':'rgb(44, 145, 56)'},
        {'background-color':'rgb(0, 128, 255)'},
        {'background-color':'rgba(255, 255, 255, 0.498)'},
        {'background-color':'rgba(255, 255, 255, 0.498)'},
        {'background-color':'rgb(191, 191, 191)'},
        {'background-color':'rgb(191, 191, 191)'},
      ]);
    });
    at(1.75 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(32, 112, 0)'},
        {'background-color':'rgb(22, 137, 28)'},
        {'background-color':'rgb(0, 128, 128)'},
        {'background-color':'rgba(255, 255, 255, 0.2471)'},
        {'background-color':'rgba(255, 255, 255, 0.2471)'},
        {'background-color':'rgb(223, 223, 223)'},
        {'background-color':'rgb(223, 223, 223)'},
      ]);
    });
    at(2 * 1000, function() {
      assert_styles(".anim", [
        {'background-color':'rgb(0, 128, 0)'},
        {'background-color':'rgb(0, 128, 0)'},
        {'background-color':'rgb(0, 128, 0)'},
        {'background-color':'rgba(0, 0, 0, 0)'},
        {'background-color':'rgba(255, 0, 255, 0)'},
        {'background-color':'rgb(255, 255, 255)'},
        {'background-color':'rgb(255, 255, 255)'},
      ]);
    });
  }, "Auto generated tests");
  