def test_GrContext_MakeVulkan(): context = skia.GrVkBackendContext() options = skia.GrContextOptions() assert isinstance(skia.GrContext.MakeVulkan(context), (type(None), skia.GrContext)) assert isinstance(skia.GrContext.MakeVulkan(context, options), (type(None), skia.GrContext))
def test_GrVkBackendContext_init(): assert isinstance(skia.GrVkBackendContext(), skia.GrVkBackendContext)