summaryrefslogtreecommitdiff
path: root/test/compound.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/compound.rb')
-rw-r--r--test/compound.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/compound.rb b/test/compound.rb
index 70271fc..86930b6 100644
--- a/test/compound.rb
+++ b/test/compound.rb
@@ -68,4 +68,10 @@ class CompoundTest < MiniTest::Test
assert_equal "CHEMBL581676", c.chemblid
end
+ def test_sdf_storage
+ c = OpenTox::Compound.from_smiles "CC(=O)CC(C)C#N"
+ c.sdf
+ assert !c.sdf_id.nil?
+ end
+
end