diff --git a/+tests/+unit/multipleShapesTest.m b/+tests/+unit/multipleShapesTest.m index 6ee4d958..f840b137 100644 --- a/+tests/+unit/multipleShapesTest.m +++ b/+tests/+unit/multipleShapesTest.m @@ -23,10 +23,10 @@ function testMultipleShapesDataset(testCase) function testNullShapeDataset(testCase) nsd = types.mss.NullShapeDataset; -randiMax = intmax('int8'); +randiMax = intmax('int8') - 1; for i=1:100 %test validation - nsd.data = rand(randi(randiMax), 3); + nsd.data = rand(randi(randiMax) + 1, 3); end roundabout(testCase, nsd); end