Skip to content

Commit

Permalink
Work around test edge case behavior
Browse files Browse the repository at this point in the history
Vector data have no guarantees as to their stored dimensionality.
  • Loading branch information
Lawrence committed Jun 14, 2021
1 parent dbedf05 commit eb950b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions +tests/+unit/multipleShapesTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb950b3

Please sign in to comment.