@@ -0,0 +1,2093 @@
+package me.teaisaweso.client;%0A%0Aimport java.util.Random;%0A%0Aimport junit.framework.Assert;%0Aimport junit.framework.TestCase;%0A%0Apublic class VertexDrawableTest extends TestCase %7B%0A    private static int%5B%5D sTestValues = new int%5B%5D %7B 0, 14, 317, -4, Integer.MAX_VALUE,%0A            Integer.MIN_VALUE %7D;%0A%0A    private static String%5B%5D sTestLabels = new String%5B%5D %7B %22bees%22, %22faces%22, %22cake%22, %22death%22, %22cheese%22 %7D;%0A%0A    private static Random sRand = new Random();%0A%0A    /**%0A     * tests that getleft works as it should%0A     */%0A    public void testLeft() %7B%0A        for (int i : sTestValues) %7B%0A            VertexDrawable vd = new VertexDrawable(i, sRand.nextInt(), sRand.nextInt(), sRand%0A                    .nextInt(), %22%22);%0A            Assert.assertEquals(i, vd.getLeft());%0A        %7D%0A    %7D%0A%0A    /**%0A     * tests that getTop works as it should%0A     */%0A    public void testTop() %7B%0A        for (int i : sTestValues) %7B%0A            VertexDrawable vd = new VertexDrawable(sRand.nextInt(), i, sRand.nextInt(), sRand%0A                    .nextInt(), %22%22);%0A            Assert.assertEquals(i, vd.getTop());%0A        %7D%0A    %7D%0A%0A    /**%0A     * tests that getWidth works as it should%0A     */%0A    public void testWidth() %7B%0A        for (int i : sTestValues) %7B%0A            VertexDrawable vd = new VertexDrawable(sRand.nextInt(), sRand.nextInt(), i, sRand%0A                    .nextInt(), %22%22);%0A            Assert.assertEquals(i, vd.getWidth());%0A        %7D%0A    %7D%0A%0A    /**%0A     * tests that getHeight works as it should%0A     */%0A    public void testHeight() %7B%0A        for (int i : sTestValues) %7B%0A            VertexDrawable vd = new VertexDrawable(sRand.nextInt(), sRand.nextInt(), sRand%0A                    .nextInt(), i, %22%22);%0A            Assert.assertEquals(i, vd.getHeight());%0A        %7D%0A    %7D%0A%0A    /**%0A     * tests that getlabel works as it should%0A     */%0A    public void testLabel() %7B%0A        for (String s : sTestLabels) %7B%0A            VertexDrawable vd = new VertexDrawable(sRand.nextInt(), sRand.nextInt(), sRand%0A                    .nextInt(), sRand.nextInt(), s);%0A            Assert.assertEquals(s, vd.getLabel());%0A        %7D%0A    %7D%0A%0A%7D%0A

add a test to test vertex drawables