please add xunit distribution to +ffg/libraries/xunit and (temporarily) add libraries/xunit to the path when you execute tests.
Today, when I add 'cpp-factor-graph/code' to my path and then run 'testAddNode', I get
>> testAddNode
Undefined function or variable 'initTestSuite'.
Error in testAddNode (line 4)
initTestSuite;
4 initTestSuite;
Note that in order to make sure that it runs both on linux and win, you shoudl use the fullfile fcn to make paths, as in fullfile('libraries','xunit').
please add xunit distribution to
+ffg/libraries/xunit
and (temporarily) add libraries/xunit to the path when you execute tests.Today, when I add 'cpp-factor-graph/code' to my path and then run 'testAddNode', I get
Note that in order to make sure that it runs both on linux and win, you shoudl use the
fullfile
fcn to make paths, as infullfile('libraries','xunit')
.