Search in sources :

Example 1 with FilterHq2x

use of com.b3dgs.lionengine.graphic.filter.FilterHq2x in project lionengine by b3dgs.

the class LoaderTest method testFilterHq2x.

/**
 * Test with a hq2x filter.
 */
@Test
void testFilterHq2x() {
    final Resolution output = new Resolution(640, 480, 0);
    final Config config = new Config(output, 16, false);
    Loader.start(config, SequenceFilterMock.class, new FilterHq2x()).await();
}
Also used : Config(com.b3dgs.lionengine.Config) FilterHq2x(com.b3dgs.lionengine.graphic.filter.FilterHq2x) Resolution(com.b3dgs.lionengine.Resolution) Test(org.junit.jupiter.api.Test)

Aggregations

Config (com.b3dgs.lionengine.Config)1 Resolution (com.b3dgs.lionengine.Resolution)1 FilterHq2x (com.b3dgs.lionengine.graphic.filter.FilterHq2x)1 Test (org.junit.jupiter.api.Test)1