@Test public void testShouldFailOnBogusResource() { int id = ASTRAALResource.getDrawableID("cthulhuawakesfromhisprison"); assertTrue(id == 0); }
@Test public void testShouldDynamicallyFindResourceID() { int id = ASTRAALResource.getDrawableID("star"); System.out.println("0x" + Integer.toHexString(id)); assertTrue(id == 0x7f020005); }