Permalink
Browse files

Removed even more logging, corrected the first test

  • Loading branch information...
1 parent 63d9920 commit f24f638f06763a65f65694700574160d21d40623 @timsuchanek timsuchanek committed May 24, 2013
Showing with 54 additions and 2 deletions.
  1. +54 −2 test/drift.js
View
@@ -75,7 +75,7 @@ function testDrift (test) {
});
}
-var tests = [
+var driftUp = [
{
target: {
direct: {
@@ -123,7 +123,59 @@ var tests = [
}
];
-tests.forEach(function (test) {
+driftUp.forEach(function (test) {
+ //testDrift(test);
+});
+
+var driftRight = [
+ {
+ target: {
+ direct: {
+ x: 0,
+ y: 77
+ },
+ delay: {
+ x: 0,
+ y: 110
+ }
+ },
+ distance: 50,
+ duration: 0.02,
+ degree: 90
+ },
+ {
+ target: {
+ direct: {
+ x: 0,
+ y: 165
+ },
+ delay: {
+ x: 0,
+ y: 236
+ }
+ },
+ distance: 100,
+ duration: 0.02,
+ degree: 90
+ },
+ {
+ target: {
+ direct: {
+ x: 0,
+ y: 247
+ },
+ delay: {
+ x: 0,
+ y: 363
+ }
+ },
+ distance: 150,
+ duration: 0.02,
+ degree: 90
+ }
+];
+
+driftRight.forEach(function (test) {
testDrift(test);
});

0 comments on commit f24f638

Please sign in to comment.