From 18264994b767f0095411d4b4c6070ffba1ace47d Mon Sep 17 00:00:00 2001
From: Federico Felici <federico.felici@epfl.ch>
Date: Sat, 16 Nov 2019 15:09:35 +0100
Subject: [PATCH] Better test_expcodes using new methods

---
 tests/test_expcodes.m | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_expcodes.m b/tests/test_expcodes.m
index 5f55e69..35600a1 100644
--- a/tests/test_expcodes.m
+++ b/tests/test_expcodes.m
@@ -26,7 +26,6 @@ classdef test_expcodes < matlab.unittest.TestCase
     function setup_expcode(testCase,expcode_number)
       % get this expcode object from expcode object container
       testCase.expcode_obj = getbymaincode(testCase.SCDexps,expcode_number);
-      testCase.expcode_obj.setup; % run setup this exp code
     end 
   end
   
@@ -41,7 +40,7 @@ classdef test_expcodes < matlab.unittest.TestCase
     
     function test_expcode(testCase)
       % attempt compiling tcv.slx for this expcode
-      testCase.expcode_obj.tcvcompile; % compile tcv.slx with this expcode
+      testCase.expcode_obj.compile; % compile tcv.slx with this expcode
     end
     
   end
-- 
GitLab