예제 #1
0
        public void Add_MathTest()
        {
            // Arrange
            int expect = 25603;

            // act
            int actual = Comp.Add(2749, 22854);

            // Assert
            Assert.Equal(expect, actual);
        }
예제 #2
0
 public List <Competitors> AddCompetitorToCompetitors(Competitors competitor)
 {
     Comp.Add(competitor);
     SaveChanges();
     return(Comp.ToList());
 }