//- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
//- Limelight and all included source files are distributed under terms of the MIT License.
package limelight.styles.values;
import junit.framework.TestCase;
import limelight.styles.VerticalAlignment;
import limelight.util.Box;
public class AlignedYCoordinateValueTest extends TestCase
{
private AlignedYCoordinateValue center;
public void setUp() throws Exception
{
center = new AlignedYCoordinateValue(VerticalAlignment.CENTER);
}
public void testGetY() throws Exception
{
assertEquals(25, center.getY(50, new Box(0, 0, 100, 100)));
}
}