Skip to content

Commit f175f96

Browse files
committed
close without saving
1 parent 7f6f2c9 commit f175f96

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Free_Decay/TestFreeDecay.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,31 +53,31 @@ function checkVisibilityRestored(testCase)
5353
function testFree_Decay_0m(testCase)
5454
cd('0m')
5555
wecSim
56-
close_system('sphere')
56+
close_system('sphere',0)
5757
cd(testCase.testDir)
5858
end
5959
function testFree_Decay_1m(testCase)
6060
cd('1m')
6161
wecSim
62-
close_system('sphere')
62+
close_system('sphere',0)
6363
cd(testCase.testDir)
6464
end
6565
function testFree_Decay_1m_ME(testCase)
6666
cd('1m-ME')
6767
wecSim
68-
close_system('sphere')
68+
close_system('sphere',0)
6969
cd(testCase.testDir)
7070
end
7171
function testFree_Decay_3m(testCase)
7272
cd('3m')
7373
wecSim
74-
close_system('sphere')
74+
close_system('sphere',0)
7575
cd(testCase.testDir)
7676
end
7777
function testFree_Decay_5m(testCase)
7878
cd('5m')
7979
wecSim
80-
close_system('sphere')
80+
close_system('sphere',0)
8181
cd(testCase.testDir)
8282
end
8383
end

OWC/TestOWC.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ function checkVisibilityRestored(testCase)
5858
function testOWCOrifice(testCase)
5959
cd('OrificeModel')
6060
wecSim
61-
close_system('OWC_rigid')
61+
close_system('OWC_rigid',0)
6262
end
6363

6464
function testOWCFloating(testCase)
6565
assumeEqual(testCase, exist("MoorDyn_caller", "file"), 2, ...
6666
"MoorDyn is not installed");
6767
cd('FloatingOWC')
6868
wecSim
69-
close_system('OWC_GBM')
69+
close_system('OWC_GBM',0)
7070
end
7171
end
7272
end

0 commit comments

Comments
 (0)