use of com.b3dgs.lionengine.graphic.filter.FilterBilinear in project lionengine by b3dgs.
the class SpriteTest method testFilterBilinear.
/**
* Test filter bilinear.
*/
@Test
void testFilterBilinear() {
final Sprite sprite = new SpriteImpl(Graphics.createImageBuffer(64, 32));
sprite.filter(new FilterBilinear());
assertEquals(64, sprite.getWidth());
assertEquals(32, sprite.getHeight());
}
Aggregations