summaryrefslogtreecommitdiff
path: root/test/compound.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-07-31 10:59:21 +0200
committerChristoph Helma <helma@in-silico.ch>2015-07-31 10:59:21 +0200
commit7d0149d445b2e613e91de5a0470a5c8e08f54057 (patch)
tree80c3d24cdd31ad6f80d60a5d9249619274bcc99e /test/compound.rb
parent6cd7c5eb7eab41c65f2af27d37f05bb61570c58c (diff)
descriptor tests working
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