Updates for bazel on windows.
This commit is contained in:
22
opengl/window_test.cpp
Normal file
22
opengl/window_test.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <tinytest.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace {
|
||||
using std::cout;
|
||||
using TinyTest::TestResults;
|
||||
} // namespace
|
||||
|
||||
TestResults test_something() {
|
||||
return TestResults().Pass();
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
TestResults results;
|
||||
|
||||
results += test_something();
|
||||
|
||||
PrintResults(cout, results);
|
||||
|
||||
return results.Failed() + results.Errors();
|
||||
}
|
||||
Reference in New Issue
Block a user