summaryrefslogtreecommitdiff
path: root/test/compound.rb
diff options
context:
space:
mode:
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