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

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

            var actualResult   = funcH.UpdateFunction(funcDef);
            var expectedResult = funcDef.Name + " was updated!";

            Assert.Equal(expectedResult, actualResult);
        }