MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / CPU_TEST

Function CPU_TEST

Source/Falcor/Testing/UnitTest.cpp:732–745  ·  view source on GitHub ↗

* Simple tests of the testing framework. How meta. */

Source from the content-addressed store, hash-verified

730 * Simple tests of the testing framework. How meta.
731 */
732CPU_TEST(TestCPUTest)
733{
734 EXPECT_EQ(1, 1);
735 EXPECT(1 == 1);
736 EXPECT_NE(1, 2);
737 EXPECT_LT(1, 2);
738 EXPECT_GT(2, 1);
739 EXPECT_LE(2, 2);
740 EXPECT_GE(3, 2);
741
742 // Commented out to not have the debugger break if break-on-exception is enabled.
743 // EXPECT_THROW({ throw std::runtime_error("Test"); });
744 // EXPECT_THROW_AS({ throw std::runtime_error("Test"); }, std::runtime_error);
745}
746
747CPU_TEST(TestSingleEval)
748{

Callers 1

UnitTest.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected