package org.djutils.draw;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
/**
* SpaceTest.java.
*
* Copyright (c) 2020-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See DJUTILS License.
*
* @author Alexander Verbraeck
* @author Peter Knoppers
*/
public class SpaceTest
{
/**
* Test the Space2d and Space3d classes.
*/
@Test
public void testSpace()
{
assertEquals("Space2d has 2 dimensions", 2, new Space2d().getDimensions());
assertEquals("Space3d has 3 dimensions", 3, new Space3d().getDimensions());
}
}