public void CanHandleRequestTest() { TexImage image = TestTools.Load(library, "TextureArray_WMipMaps_PVRTC2_4bpp.pvr"); Assert.IsTrue(library.CanHandleRequest(image, new CompressingRequest(Paradox.Graphics.PixelFormat.PVRTC_II_4bpp))); Assert.IsTrue(library.CanHandleRequest(image, new DecompressingRequest(false))); Assert.IsTrue(library.CanHandleRequest(image, new LoadingRequest("TextureArray_WMipMaps_PVRTC2_4bpp.pvr", false))); Assert.IsTrue(library.CanHandleRequest(image, new MipMapsGenerationRequest(Filter.MipMapGeneration.Linear))); Assert.IsTrue(library.CanHandleRequest(image, new NormalMapGenerationRequest(0.5f))); Assert.IsTrue(library.CanHandleRequest(image, new SwitchingBRChannelsRequest())); Assert.IsTrue(library.CanHandleRequest(image, new FlippingRequest(Orientation.Horizontal))); Assert.IsTrue(library.CanHandleRequest(image, new FixedRescalingRequest(512, 512, Filter.Rescaling.Nearest))); Assert.IsTrue(library.CanHandleRequest(image, new ExportRequest("TextureArray_WMipMaps_PVRTC2_4bpp.pvr", 0))); Assert.IsFalse(library.CanHandleRequest(image, new GammaCorrectionRequest(1))); image.Dispose(); }