assertEquals("after resize, the grid width should be "+oldNumCols/2, oldNumCols/2, lightbox.gridLayoutHandler.numOfColumnsInGrid); 
assertEquals("after resize, the grid width should be "+Math.floor(oldNumCols/2), Math.floor(oldNumCols/2), lightbox.gridLayoutHandler.numOfColumnsInGrid); 
function testHandleWindowResizeEvent() {	var lightbox = createLightbox();	var oldNumCols = lightbox.gridLayoutHandler.numOfColumnsInGrid;	// change the width	dojo.removeClass(dojo.byId(lightboxParentId), "full-width");	dojo.addClass(dojo.byId(lightboxParentId), "half-width");		// tell the lightbox of the change	var resizeEvent = {foo: "bar"};	lightbox.handleWindowResizeEvent(resizeEvent);	assertEquals("after resize, the grid width should be "+oldNumCols/2, oldNumCols/2, lightbox.gridLayoutHandler.numOfColumnsInGrid);	// change it back	dojo.removeClass(dojo.byId(lightboxParentId), "half-width");	dojo.addClass(dojo.byId(lightboxParentId), "full-width");		// tell the lightbox of the change	var resizeEvent = {foo: "bar"};	lightbox.handleWindowResizeEvent(resizeEvent);	assertEquals("after resize, the grid width should be "+oldNumCols, oldNumCols, lightbox.gridLayoutHandler.numOfColumnsInGrid);}
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/6c188c912c464df176ba208fd3284355e97c4114/LightboxTests.js/clean/src/webapp/component-templates/test/tests/LightboxTests.js