diff CellTest.m @ 481:970f1df2bfcf feature/sublassable_cellarray

Implement handeling of stacked indexing
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 02 Aug 2017 12:17:09 +0200
parents c5705458beb1
children da7df0c9af05
line wrap: on
line diff
--- a/CellTest.m	Wed Aug 02 12:01:25 2017 +0200
+++ b/CellTest.m	Wed Aug 02 12:17:09 2017 +0200
@@ -49,7 +49,8 @@
 function testRoundIndexWithProperty(testCase)
     A = Cell({3,2,1});
 
-    testCase.verifyEqual(A([1,3]).data, {3, 1});
+    result = A([1,3]).data;
+    testCase.verifyEqual(result, {3, 1});
 end
 
 function testSubAssignment(testCase)