    @Test
    public void calculateDimentions_ShouldReturnBean(){

        BeanShade2 beanShade2Result = ShadeTwo.calculateDimentions
                (frameModel, dimentionsModel.params[0],
                dimentionsModel.params[1],
                dimentionsModel.params[2],
                dimentionsModel.params[3]);

        boolean isFirstImageLeftOrTop = beanShade2Result.getImageOrderList().get(0) == ImageOrder.FIRST;
        boolean isVertLayout = beanShade2Result.getLayoutType() == LayoutType.VERT;

        System.out.println("Start++++++++++++++++++++++++++++++++++++Start");
        System.out.println("running for : "+dimentionsModel.params[0]+" "+dimentionsModel.params[1] + " "+dimentionsModel.params[2] + " " + dimentionsModel.params[3]);
        System.out.println("getWidth1 : "+beanShade2Result.getWidth1());
        System.out.println("getHeight1 : "+beanShade2Result.getHeight1());
        System.out.println("getWidth2 : "+beanShade2Result.getWidth2());
        System.out.println("getHeight2 : "+beanShade2Result.getHeight2());
        System.out.println("isFirstImageLeftOrTop = expected: "+dimentionsModel.firstImageLeftOrTop+" actual: "+isFirstImageLeftOrTop);
        System.out.println("isVertLayout = expected: "+dimentionsModel.vertLayout+" actual: "+isVertLayout);
        System.out.println("End++++++++++++++++++++++++++++++++++++End");

        /*assertEquals(dimentionsModel.firstImageLeftOrTop, isFirstImageLeftOrTop);
        assertEquals(dimentionsModel.vertLayout, isVertLayout);*/

        int MAX_WIDTH = round(frameModel.getMaxContainerWidth()) + 1;
        int MAX_HEIGHT = round(frameModel.getMaxContainerHeight()) + 1;
        int MIN_WIDTH = round(frameModel.getMinFrameWidth());
        int MIN_HEIGHT = round(frameModel.getMinFrameHeight());


        if(/*dimentionsModel.vertLayout*/isVertLayout){
            assertTrue(beanShade2Result.getWidth1() >= MIN_WIDTH);
            assertTrue(beanShade2Result.getWidth1() <= MAX_WIDTH);

            assertTrue(beanShade2Result.getWidth2() >= MIN_WIDTH);
            assertTrue(beanShade2Result.getWidth2() <= MAX_WIDTH);

            assertTrue(beanShade2Result.getHeight1() >= MIN_HEIGHT);
            assertTrue(beanShade2Result.getHeight2() >= MIN_HEIGHT);

            float sumHeight = beanShade2Result.getHeight1() + beanShade2Result.getHeight2();

            assertTrue(sumHeight <= MAX_HEIGHT);

            /*float height1Ratio = beanShade2Result.getHeight1() / sumHeight;
            float height2Ratio = beanShade2Result.getHeight2() / sumHeight;

            assertTrue(height1Ratio >= Utils.MIN_RATIO || height1Ratio <= Utils.MAX_RATIO);
            assertTrue(height2Ratio >= Utils.MIN_RATIO || height2Ratio <= Utils.MAX_RATIO);*/

            if(beanShade2Result.isAddInLayout())
                assertTrue(beanShade2Result.getWidth1() > beanShade2Result.getWidth2());
            else assertTrue(beanShade2Result.getWidth1() == beanShade2Result.getWidth2());
        }else{
            assertTrue(beanShade2Result.getHeight1() >= MIN_HEIGHT);
            assertTrue(beanShade2Result.getHeight1() <= MAX_HEIGHT);

            assertTrue(beanShade2Result.getHeight2() >= MIN_HEIGHT);
            assertTrue(beanShade2Result.getHeight2() <= MAX_HEIGHT);

            assertTrue(beanShade2Result.getWidth1() >= MIN_WIDTH);
            assertTrue(beanShade2Result.getWidth2() >= MIN_WIDTH);

            float sumWidth = beanShade2Result.getWidth1() + beanShade2Result.getWidth2();

            assertTrue(sumWidth <= MAX_WIDTH);

            /*float width1Ratio = beanShade2Result.getWidth1() / sumWidth;
            float width2Ratio = beanShade2Result.getWidth2() / sumWidth;

            assertTrue(width1Ratio >= Utils.MIN_RATIO || width1Ratio <= Utils.MAX_RATIO);
            assertTrue(width2Ratio >= Utils.MIN_RATIO || width2Ratio <= Utils.MAX_RATIO);*/

            if(beanShade2Result.isAddInLayout())
                assertTrue(beanShade2Result.getHeight1() > beanShade2Result.getHeight2());
            else assertTrue(beanShade2Result.getHeight1() == beanShade2Result.getHeight2());
        }

    }