aa, ho modificato il test:
Codice:
public void testSpriteDrawWithArea()
{
Texture texture = new Texture("diamond");
Sprite sprite = new Sprite(
100,
200,
0, // texcoord0.x
0, // texcoord0.y
12, // texcoord1.x
12, // texcoord1.y
texture,
Bounds.createForTesting());
MockEngine engine = new MockEngine();
sprite.draw(engine);
assertEquals(112.0f, engine.getTexcoordXHigh());
assertEquals(212.0f, engine.getTexcoordYHigh());
}
in particolare ho modificato gli assert, a te fek