summaryrefslogtreecommitdiff
path: root/test/compound.rb
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2018-01-17 11:39:11 +0100
committerGitHub <noreply@github.com>2018-01-17 11:39:11 +0100
commit03e12d4d2fdd5436f6472aa30d7876fc0f0256f8 (patch)
tree5e2e14449905d1ecdfad7d94209a8586dbf61f43 /test/compound.rb
parent7bb62b4fdc4f6d6b4993ade55a0b420cd8dac1f4 (diff)
changed assertion value
Diffstat (limited to 'test/compound.rb')
-rw-r--r--test/compound.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compound.rb b/test/compound.rb
index c4e6161..ff8f99b 100644
--- a/test/compound.rb
+++ b/test/compound.rb
@@ -110,7 +110,7 @@ print c.sdf
def test_molecular_weight
c = OpenTox::Compound.from_smiles "CC(=O)CC(C)C"
- assert_equal 100.15888, c.molecular_weight
+ assert_equal 100.15888, c.molecular_weight.round(5)
end
def test_physchem