def METHOD_NAME(self):
    assert versions.VersionVariants("5.0.3").all_versions == [("5.0.3", "with_patch"), ("5.0", "with_minor"), ("5", "with_major")]
    assert versions.VersionVariants("7.12.1-SNAPSHOT").all_versions == [
        ("7.12.1-SNAPSHOT", "with_suffix"),
        ("7.12.1", "with_patch"),
        ("7.12", "with_minor"),
        ("7", "with_major"),
    ]
    assert versions.VersionVariants("10.3.63").all_versions == [("10.3.63", "with_patch"), ("10.3", "with_minor"), ("10", "with_major")]