This commit is contained in:
2018-07-31 10:50:06 -04:00
parent c040135305
commit 58fa6f0503
45 changed files with 504 additions and 295 deletions
@@ -18,16 +18,26 @@ void VideoTest()
VideoEngine::cVideo& video = VideoEngine::cVideo::Inst();
video.Initialize();
u.test("Video Initialize", video.IsInit());
u.test("Video Initialize. IsInit()", video.IsInit());
u.test("Video Setup", video.Setup());
u.test("Video Setup. Setup()", video.Setup());
// CaptionTest
cString cap_set = "Hello World";
u.test("setCaption() and getCaption()", CaptionTest());
u.report();
}
const bool CaptionTest()
{
bool rtn = false;
cString cap_set = "Caption Test";
cVideo::Inst().setCaption(cap_set);
cString cap_get = cVideo::Inst().getCaption();
u.test("setCaption() and getCaption()", (cap_get == cap_set));
if (cap_get == cap_set)
rtn = true;
u.report();
return rtn;
}