示例#1
0
        [Fact]//Repository.HaikuRepo.cs
        public void HaikuRepoTest8()
        {
            HaikuRepo haikurepo = new HaikuRepo(hContext);
            HaikuLine haikuline = haikurepo.GetHaiku5();
            var       expected  = 5;
            var       actual    = haikuline.Syllable;

            Assert.Equal(expected, actual);
        }
示例#2
0
 public void MakeHaiku()
 {
     Line1 = _repo.GetHaiku5();
     Line2 = _repo.GetHaiku7();
     Line3 = _repo.GetHaiku5(Line1);
 }