MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / test_value

Method test_value

tests/transforms/test_gaussian_smooth.py:90–92  ·  view source on GitHub ↗
(self, arguments, image, expected_data)

Source from the content-addressed store, hash-verified

88class TestGaussianSmooth(unittest.TestCase):
89 @parameterized.expand(TESTS)
90 def test_value(self, arguments, image, expected_data):
91 result = GaussianSmooth(**arguments)(image)
92 assert_allclose(result, expected_data, atol=1e-4, rtol=1e-4, type_test="tensor")
93
94
95if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

GaussianSmoothClass · 0.90
assert_allcloseFunction · 0.90

Tested by

no test coverage detected