def METHOD_NAME(art_warning):
    try:
        with pytest.raises(ValueError):
            _ = MixupTensorFlowV2(num_classes=0)
        with pytest.raises(ValueError):
            _ = MixupTensorFlowV2(num_classes=10, alpha=0)
        with pytest.raises(ValueError):
            _ = MixupTensorFlowV2(num_classes=10, alpha=-1)
        with pytest.raises(ValueError):
            _ = MixupTensorFlowV2(num_classes=10, num_mix=1)
        with pytest.raises(ValueError):
            _ = MixupTensorFlowV2(num_classes=10, num_mix=-1)
    except ARTTestException as e:
        art_warning(e)