diff options
author | gebele <gebele@in-silico.ch> | 2017-01-18 14:17:02 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2017-01-18 14:17:02 +0000 |
commit | dd8b986e198552ce865aa5500335043f60a0eef3 (patch) | |
tree | f5c06159d0a529f263ea25f6354f89825fc41410 /test/model-nanoparticle.rb | |
parent | 76912e72cf52c2a10423226ababb2b6d7f4b84ca (diff) | |
parent | d7504cc422bbaeee3546589d87e7baeb4e977c0b (diff) |
fixed merge
Diffstat (limited to 'test/model-nanoparticle.rb')
-rw-r--r-- | test/model-nanoparticle.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/model-nanoparticle.rb b/test/model-nanoparticle.rb index 8dc6830..67bbfdd 100644 --- a/test/model-nanoparticle.rb +++ b/test/model-nanoparticle.rb @@ -8,6 +8,13 @@ class NanoparticleModelTest < MiniTest::Test @prediction_feature = @training_dataset.features.select{|f| f["name"] == 'log2(Net cell association)'}.first end + def test_core_coating_source_uris + @training_dataset.nanoparticles.each do |np| + refute_nil np.core.source + np.coating.each{|c| refute_nil c.source} + end + end + def test_nanoparticle_model assert true, @prediction_feature.measured model = Model::Lazar.create training_dataset: @training_dataset, prediction_feature: @prediction_feature |