Skip to content
Snippets Groups Projects
Commit 6dc6aa6a authored by Daniel CARRON's avatar Daniel CARRON :b: Committed by André Anjos
Browse files

[tests] Update tests

parent 2e8c52e9
No related branches found
No related tags found
1 merge request!46Create common library
Showing
with 16 additions and 20 deletions
filename,likelihood,ground_truth
file1,"[6.1538161e-01 1.4814811e-03 6.5176686e-05 1.0000000e+00 5.1068876e-01
1.8108148e-04 3.6165615e-01 1.4568567e-01 4.8867718e-05 5.0666117e-05
5.1114771e-07 1.3583761e-01 6.0767888e-11 1.5170315e-08]",[1.]
file2,"[6.3864078e-04 3.6866156e-03 8.4878616e-08 6.3316641e-01 4.4661388e-01
7.6667184e-04 1.1361861e-03 4.6111313e-03 4.3461104e-04 1.1185581e-06
1.1631314e-06 3.7814886e-06 6.1658076e-11 3.5506051e-08]",[0.]
file3,"[1.3780616e-05 1.8464373e-05 1.4054011e-07 1.6511037e-03 7.0664110e-01
6.0737631e-03 7.3566751e-03 3.0668571e-04 3.1133456e-05 5.0116336e-07
1.5665150e-04 1.0710500e-08 4.1036647e-06 1.1140607e-07]",[1.]
Image,MoRF,LeRF,Combined Score ((LeRF-MoRF) / 2),IoU,IoDA,propEnergy,ASF
tb0004.png,1,2,3,4,5,6,7
tb0006.png,2,3,4,5,6,7,8
tb0009.png,1,2,3,4,5,6,7
tb0014.png,2,3,4,5,6,7,8
tb0015.png,1,2,3,4,5,6,7
......@@ -40,26 +40,6 @@ def _check_help(entry_point):
assert result.output.startswith("Usage:")
def test_info_help():
from mednet.scripts.info import info
_check_help(info)
def test_info():
from mednet.scripts.info import info
runner = CliRunner()
result = runner.invoke(info)
_assert_exit_0(result)
assert "platform:" in result.output
assert "accelerators:" in result.output
assert "version:" in result.output
assert "configured databases:" in result.output
assert "dependencies:" in result.output
assert "python:" in result.output
def test_config_help():
from mednet.libs.classification.scripts.config import config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment