コード例 #1
0
        static FbxVector2Test()
        {
            // The coverage tester doesn't realize that MatchingTests calls
            // every command (it asserts as much at the end). We need to tell it.
            var lambdaCaller = typeof(FbxVector2Test).GetMethod("MatchingTests");

            CppMatchingHelper.RegisterLambdaCalls(lambdaCaller, s_commands);
        }
コード例 #2
0
 public void MatchingTests()
 {
     CppMatchingHelper.MatchingTest <FbxVector2>(
         "vector_test.txt",
         "FbxVector2",
         Vector,
         s_commands,
         s_custom_compare);
 }
コード例 #3
0
        static FbxVector4Test()
        {
            var lambdaCaller = typeof(FbxVector4Test).GetMethod("MatchingTests");

            CppMatchingHelper.RegisterLambdaCalls(lambdaCaller, s_commands);
        }