// TODO: This doesn't really test whether this method fully works
This doesn't really test whether this method fully works
This doesn ' t really test whether this method fully works
fn from() {
        // Test whether parsing works for each test version
        for version in TEST_VERSIONS {
            assert!(Version::from(&version.0).is_some());
        }
        // Test whether parsing works for each test invalid version
        for version in TEST_VERSIONS_ERROR {
            assert!(Version::from(&version.0).is_none());
        }
    }
fn from ( ) { // Test whether parsing works for each test version for version in TEST_VERSIONS { assert ! ( Version from ( version 0 ) is_some ( ) ) ; } // Test whether parsing works for each test invalid version for version in TEST_VERSIONS_ERROR { assert ! ( Version from ( version 0 ) is_none ( ) ) ; } }
TODO: This doesn't really test whether this method fully works
TODO : This doesn ' t really test whether this method fully works