Draggable Unit: Removed tests against undocumentated functionality

This commit is contained in:
Dave Stein 2012-12-23 12:50:05 -05:00
parent c8d7e4c592
commit 914d74c998

View File

@ -260,13 +260,13 @@ test("{ cursorAt: false}, default", function() {
*/
test( "{ cursorAt: left, top }", function() {
expect( 16 );
expect( 12 );
var deltaX = -3,
deltaY = -3,
tests = {
"{ left: -5, top: -5 }": { x: -5, y: -5, cursorAt : { left: -5, top: -5 } },
"[ 10, 20 ]": { x: 10, y: 20, cursorAt : [ 10, 20 ] },
// "[ 10, 20 ]": { x: 10, y: 20, cursorAt : [ 10, 20 ] },
"{ left: 20, top: 40 }": { x: 20, y: 40, cursorAt : { left: 20, top: 40 } },
"{ right: 10, bottom: 20 }": { x: 10, y: 20, cursorAt : { right: 10, bottom: 20 } }
};