mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Octave Interface: Started to use Octave test
Increased fidelity of the tests now checking the return values also. Using the octave test system to make reporting somewhat easier.
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
### The case with caseid 1 has to be selected/active in ResInsight when running this test-script
|
||||
### Coarsening and Dual porosity is not exercised by this tes yet. We need models
|
||||
|
||||
if (1)
|
||||
test OctaveInterfaceTest.m
|
||||
else
|
||||
|
||||
### CaseInfo riGetCurrentCase()
|
||||
printf ("===== Testing ====> riGetCurrentCase\n");
|
||||
caseInfo = riGetCurrentCase();
|
||||
caseInfo.CaseId == 1;
|
||||
disp(caseInfo);
|
||||
|
||||
|
||||
### Vector[CaseInfo] riGetSelectedCases()
|
||||
printf ("===== Testing ====> riGetSelectedCases\n");
|
||||
caseInfoVector1 = riGetSelectedCases();
|
||||
disp(caseInfoVector1);
|
||||
|
||||
if(0)
|
||||
|
||||
### Vector[CaseGroupInfo] riGetCaseGroups()
|
||||
printf ("===== Testing ====> riGetCaseGroups\n");
|
||||
@@ -143,3 +149,6 @@ WellStatuses1 = riGetWellStatus(1, WellNames1(1,:), [1,3]);
|
||||
disp(WellStatuses1(1));
|
||||
WellStatuses2 = riGetWellStatus( WellNames1(1,:), [1,3]);
|
||||
WellStatuses3 = riGetWellStatus(WellNames1(1,:));
|
||||
|
||||
endif
|
||||
endif
|
Reference in New Issue
Block a user