Ejemplo n.º 1
0
        public void PercentSkills()
        {
            string             jobskills       = "C#, entity framework, react, jquery, mvc";
            string             candidateskills = "react, mvc, cooking, painting";
            ProcessedCandidate candidate       = new ProcessedCandidate();

            candidate.skillTags = candidateskills;

            candidate.Process(jobskills);

            Assert.AreEqual(candidate.PercentSkills, 40);
        }
Ejemplo n.º 2
0
        public void FirstSkillMatchedIndex()
        {
            string             jobskills       = "C#, entity framework, react, jquery, mvc";
            string             candidateskills = "react, mvc, cooking, painting";
            ProcessedCandidate candidate       = new ProcessedCandidate();

            candidate.skillTags = candidateskills;

            candidate.Process(jobskills);

            Assert.AreEqual(candidate.FirstSkillMatchedIndex, 3);
        }