def test_from_array(): lexicon = Lexicon.default() a = [(100, 200, 'red sandstone'), (200, 250, 'grey shale'), (200, 250, 'red sandstone with shale stringers'), ] s = Striplog._from_array(a, lexicon=lexicon) assert s.__str__() != ''
def test_from_array(): """Test the array route. """ lexicon = Lexicon.default() a = [(100, 200, 'red sandstone'), (200, 250, 'grey shale'), (200, 250, 'red sandstone with shale stringers'), ] s = Striplog._from_array(a, lexicon=lexicon) assert s.__str__() != ''
def test_from_array(): """Test the array route. Deprecated. """ lexicon = Lexicon.default() a = [(100, 200, 'red sandstone'), (200, 250, 'grey shale'), (200, 250, 'red sandstone with shale stringers'), ] with pytest.warns(DeprecationWarning): s = Striplog._from_array(a, lexicon=lexicon) assert s.__str__() != ''
def test_from_array(): lexicon = Lexicon.default() a = [(100, 200, "red sandstone"), (200, 250, "grey shale"), (200, 250, "red sandstone with shale stringers")] s = Striplog._from_array(a, lexicon=lexicon) assert s.__str__() != ""