Exemplo n.º 1
0
        public void TestGetCommandReturnsTrueWithNonExistingSkillAndAddsItToTheDatabase()
        {
            string      skill  = "python";
            InsertSkill ins    = new InsertSkill();
            bool        insert = ins.GetCommand(skill);

            Assert.IsTrue(insert);
        }
Exemplo n.º 2
0
        public void TestGetCommandReturnsTrueWithExistingSkill()
        {
            string      skill    = "SQL";
            InsertSkill ins      = new InsertSkill();
            string      newSkill = ins.FormatSkill(skill);

            Assert.IsTrue(ins.GetCommand(skill));
        }