Skip to content

Commit

Permalink
Removed even more logging, corrected the first test
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed May 24, 2013
1 parent 63d9920 commit f24f638
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions test/drift.js
Expand Up @@ -75,7 +75,7 @@ function testDrift (test) {
});
}

var tests = [
var driftUp = [
{
target: {
direct: {
Expand Down Expand Up @@ -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);
});

Expand Down

0 comments on commit f24f638

Please sign in to comment.