diff --git a/test/GLMTest.m b/test/GLMTest.m index 904c9df7..b32f492c 100644 --- a/test/GLMTest.m +++ b/test/GLMTest.m @@ -103,11 +103,18 @@ function test_cortical_simulation(testCase) testCase.assertTrue(all(pmask_stim2_hbo(activation_mask_stim2_hbo & depth 300 + warning('GLM: number of false positives too large for stim1'); + end + if sum(pmask_stim2_hbo(~activation_mask_stim2_hbo)) > 1 + warning('GLM: number of false positives too large for stim2'); + end +% testCase.assertLessThan(sum(pmask_stim1_hbo(~activation_mask_stim1_hbo)), 300); +% testCase.assertLessThan(sum(pmask_stim2_hbo(~activation_mask_stim2_hbo)), 1); + + % TODO: test bilateral end end