main.cpp,main.cfg : Added vectOpTest(),scoreFollowTest(),
This commit is contained in:
parent
48620bd597
commit
edffaf20f3
File diff suppressed because it is too large
Load Diff
@ -30,6 +30,8 @@
|
|||||||
#include "cwFlow.h"
|
#include "cwFlow.h"
|
||||||
#include "cwPianoScore.h"
|
#include "cwPianoScore.h"
|
||||||
#include "cwIoPresetSelApp.h"
|
#include "cwIoPresetSelApp.h"
|
||||||
|
#include "cwCmInterface.h"
|
||||||
|
#include "cwScoreFollower.h"
|
||||||
|
|
||||||
#if defined(cwWEBSOCK)
|
#if defined(cwWEBSOCK)
|
||||||
#include "cwWebSock.h"
|
#include "cwWebSock.h"
|
||||||
@ -350,6 +352,16 @@ cw::rc_t objectTest( const cw::object_t* cfg, const cw::object_t* args, int argc
|
|||||||
return cw::kOkRC;
|
return cw::kOkRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cw::rc_t vectOpTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] )
|
||||||
|
{
|
||||||
|
int v1[] = { 1,2,1,2,1,2,1,2,1,2 };
|
||||||
|
int v0[ 10 ];
|
||||||
|
|
||||||
|
cw::vop::deinterleave( v0, v1, 5, 2 );
|
||||||
|
cw::vop::print(v0,10,"%i ");
|
||||||
|
return cw::kOkRC;
|
||||||
|
}
|
||||||
|
|
||||||
cw::rc_t timeTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::time::test(); }
|
cw::rc_t timeTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::time::test(); }
|
||||||
cw::rc_t threadTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::threadTest(); }
|
cw::rc_t threadTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::threadTest(); }
|
||||||
cw::rc_t kbTest1Test( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { cw::kbTest1(); return cw::kOkRC; }
|
cw::rc_t kbTest1Test( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { cw::kbTest1(); return cw::kOkRC; }
|
||||||
@ -394,6 +406,8 @@ cw::rc_t flowTest( const cw::object_t* cfg, const cw::object_t* args
|
|||||||
return cw::flow::test(flow_proc_dict,args);
|
return cw::flow::test(flow_proc_dict,args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cw::rc_t scoreFollowTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::score_follower::test(args); }
|
||||||
|
|
||||||
|
|
||||||
#if defined(cwWEBSOCK)
|
#if defined(cwWEBSOCK)
|
||||||
cw::rc_t websockSrvTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::websockSrvTest(cfg); }
|
cw::rc_t websockSrvTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::websockSrvTest(cfg); }
|
||||||
@ -718,6 +732,7 @@ int main( int argc, const char* argv[] )
|
|||||||
{ "fileSys", fileSysTest },
|
{ "fileSys", fileSysTest },
|
||||||
{ "numbCvt", numbCvtTest },
|
{ "numbCvt", numbCvtTest },
|
||||||
{ "object", objectTest },
|
{ "object", objectTest },
|
||||||
|
{ "vop", vectOpTest },
|
||||||
{ "time", timeTest },
|
{ "time", timeTest },
|
||||||
{ "thread", threadTest },
|
{ "thread", threadTest },
|
||||||
{ "kbTest1", kbTest1Test },
|
{ "kbTest1", kbTest1Test },
|
||||||
@ -777,6 +792,7 @@ int main( int argc, const char* argv[] )
|
|||||||
{ "flow_pv", flowTest },
|
{ "flow_pv", flowTest },
|
||||||
{ "flow_spec_dist", flowTest },
|
{ "flow_spec_dist", flowTest },
|
||||||
{ "preset_sel", ioPresetSelTest },
|
{ "preset_sel", ioPresetSelTest },
|
||||||
|
{ "score_follow", scoreFollowTest },
|
||||||
{ "stub", stubTest },
|
{ "stub", stubTest },
|
||||||
{ nullptr, nullptr }
|
{ nullptr, nullptr }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user