iodata.test.test_sdf module

Test iodata.formats.sdf module.

check_example(mol)[source]

Test some things on example file.

check_load_dump_consistency(tmpdir, fn)[source]

Check if dumping and loading an SDF file results in the same data.

test_dump_coordinate_largest(tmpdir)[source]
test_dump_coordinate_too_large(coord, tmpdir)[source]
test_dump_multiline_title(tmpdir)[source]
test_dump_too_large(natom, nbond, tmpdir)[source]
test_fixed_width_fields_touching(tmpdir)[source]
test_load_dump_consistency(tmpdir)[source]
test_load_dump_many_consistency(tmpdir)[source]
test_load_many()[source]
test_not_fixed_width(sdf_text, tmpdir)[source]
test_sdf_formaterror(tmpdir)[source]
test_sdf_load_one_example()[source]
test_sdf_load_one_formamide()[source]
test_sdf_load_one_whitespace(fn, tmpdir)[source]
test_v2000_check()[source]