public void TestCase1() { var check = new VkReturnTypeCheck { ReturnType = "Result", Variable = "first_call" }; Assert.AreEqual("if ( first_call == Result.Success ) return first_call;", check.GetImplementation()); }
public void TestCase3() { var check = new VkReturnTypeCheck { ReturnType = "UInt32", Variable = "first_call" }; Assert.AreEqual("if ( first_call == 0 ) return first_call;", check.GetImplementation()); }