comparison +grid/CurvilinearTest.m @ 188:c5ca9bbfed41 feature/grids

Added methods to hande boundaries to Grid. Added failing tests and method stubs.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 04 Mar 2016 17:19:18 +0100
parents f7bb2a94d291
children 7c1d3fc33f90
comparison
equal deleted inserted replaced
187:770da87a6dc4 188:c5ca9bbfed41
65 [1 2 3 4 5 6; 7 8 9 10 11 12]', 65 [1 2 3 4 5 6; 7 8 9 10 11 12]',
66 }; 66 };
67 end 67 end
68 68
69 function testMappingInputError(testCase) 69 function testMappingInputError(testCase)
70 testCase.assumeFail(); 70 testCase.verifyFail();
71 end 71 end
72 72
73 function testScaling(testCase) 73 function testScaling(testCase)
74 in = {{1:2, 1:3}, {[1 2 3 4 5 6]', [7 8 9 10 11 12]'}}; 74 in = {{1:2, 1:3}, {[1 2 3 4 5 6]', [7 8 9 10 11 12]'}};
75 g = grid.Curvilinear(in{2},in{1}{:}); 75 g = grid.Curvilinear(in{2},in{1}{:});
78 78
79 g.logicalGrid.h = [2 1]; 79 g.logicalGrid.h = [2 1];
80 testCase.verifyEqual(g.scaling(),[2 1]); 80 testCase.verifyEqual(g.scaling(),[2 1]);
81 end 81 end
82 82
83 function testGetBoundaryNames(testCase)
84 testCase.verifyFail();
85 end
86
87 function testGetBoundary(testCase)
88 testCase.verifyFail();
89 end
90