Back to project page Butler.
The source code is released under:
Apache License
If you think the Android project Butler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bingzer.android; //w w w. j a va2s.c om import android.test.AndroidTestCase; public class DimensionTest extends AndroidTestCase { public void test_cotr(){ Dimension dim = new Dimension(); assertEquals(0, dim.width); assertEquals(0, dim.height); dim = new Dimension(1,1); assertEquals(1, dim.width); assertEquals(1, dim.height); } }