Mercurial > repos > public > sbplib
comparison +multiblock/DiffOpTest.m @ 186:1fc2eeb4f4e6 feature/grids
Moved multiblock grid to the multiblock package. Continued implementation. Added multiblock diffOp and removed some functions no longer needed.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 03 Mar 2016 20:03:06 +0100 |
parents | |
children | 6054dcd3c8a9 |
comparison
equal
deleted
inserted
replaced
185:fad5e81389c1 | 186:1fc2eeb4f4e6 |
---|---|
1 function tests = DiffOpTest() | |
2 tests = functiontests(localfunctions); | |
3 end | |
4 | |
5 function testCreation(testCase) | |
6 g = multiblock.Grid({},{}); | |
7 doHand = @(grid,order)[]; | |
8 order = 0; | |
9 do = multiblock.DiffOp(doHand, g, order); | |
10 end | |
11 | |
12 | |
13 | |
14 | |
15 % function do = mockDiffOp() | |
16 % do.H = 1; | |
17 % do.D = 1; | |
18 % end |