Add test fixture.
This commit is contained in:
parent
af6fad72eb
commit
d6d4319e21
37 changed files with 421 additions and 279 deletions
|
@ -2,10 +2,11 @@
|
|||
#include "Image.h"
|
||||
#include "FfmpegInterface.h"
|
||||
#include "PngWriter.h"
|
||||
#include "PngWriterImpl.h"
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
#include "TestFramework.h"
|
||||
|
||||
TEST_CASE(TestVideoDecoder, "video")
|
||||
{
|
||||
auto video = Video::Create();
|
||||
video->SetPath("/home/jmsgrogan/test.mp4");
|
||||
|
@ -21,6 +22,4 @@ int main()
|
|||
writer.SetPath(filename);
|
||||
writer.Write(images[idx]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue