1<!DOCTYPE html>
2<meta charset="UTF-8">
3<style>
4.target {
5  width: 50px;
6  height: 50px;
7  display: inline-block;
8  background: black;
9}
10.replica {
11background: green;
12}
13</style>
14<body>
15<script src="../testharness/testharness.js"></script>
16<script src="../testharness/testharnessreport.js"></script>
17<script src="resources/interpolation-test.js"></script>
18<script>
19assertInterpolation({
20  property: 'zoom',
21  from: '1',
22  to: '2'
23}, [
24  // Interpolated values are greater than 0, however this test case fails because
25  // we clamp to 0.01.
26  // {at: -5, is: '0.000000000000000000000000000000000000000000001'}, // zoom must be > 0
27  {at: -0.3, is: '0.7'},
28  {at: 0, is: '1'},
29  {at: 0.3, is: '1.3'},
30  {at: 0.6, is: '1.6'},
31  {at: 1, is: '2'},
32  {at: 1.5, is: '2.5'}
33]);
34</script>
35</body>
36