Better external sub ordering
[xy_vsfilter.git] / test / unit_test / main.cpp
blobda06482eeb7e29df3730409a04d7eab47514e377
1 #include <afx.h>
2 #include <gtest/gtest.h>
3 #include <iostream>
5 #define XY_UNIT_TEST
6 //#include "test_interlaced_uv_alphablend.h"
7 //#include "test_subsample_and_interlace.h"
8 //#include "test_alphablend.h"
9 //#include "test_instrinsics_macro.h"
11 //#include "test_xy_filter.h"
12 //#include "xy_filter_benchmark.h"
13 #include "test_overall.h"
16 int wmain(int argc, wchar_t ** argv)
18 if (argc!=2)
20 std::wcout<<argv[0]<<L" script_name"<<std::endl;
21 return -1;
23 char namebuf[256];
24 WideCharToMultiByte(CP_UTF8, 0, argv[1], -1, namebuf, sizeof(namebuf)/sizeof(char), NULL, NULL);
25 OpenTestScript(namebuf);
27 testing::InitGoogleTest(&argc, argv);
29 return RUN_ALL_TESTS();