JImageTest::testPrepareDimensions

Tests the JImage::prepareDimensions method.