コード例 #1
0
ファイル: UnitTest1.cs プロジェクト: pascal4651/ExamProject
        public void CreateFuncTest()
        {
            FunctionDefinitions funcDef = new FunctionDefinitions();

            funcDef.Id           = "1";
            funcDef.Name         = "ForTesting";
            funcDef.FunctionData = "";

            var actualResult   = funcH.CreateFunction(funcDef);
            var expectedResult = "FUNCTION '" + funcDef.Name + "' WAS CREATED";

            Assert.Equal(expectedResult, actualResult);
        }