diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-07-31 10:59:21 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-07-31 10:59:21 +0200 |
commit | 7d0149d445b2e613e91de5a0470a5c8e08f54057 (patch) | |
tree | 80c3d24cdd31ad6f80d60a5d9249619274bcc99e /test/compound.rb | |
parent | 6cd7c5eb7eab41c65f2af27d37f05bb61570c58c (diff) |
descriptor tests working
Diffstat (limited to 'test/compound.rb')
-rw-r--r-- | test/compound.rb | 6 |
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 |