Пример #1
0
        public void NotSameStudentTwice()
        {
            var     RandoName = new NameGenerator();
            Student Name      = RandoName.CreateNew();
            Student Name2     = RandoName.CreateNew();

            Assert.AreNotEqual(Name, Name2);
        }
Пример #2
0
        public void CanGenerateRandoStudent()
        {
            var     RandoName = new NameGenerator();
            Student Name      = RandoName.CreateNew();

            Assert.IsNotNull(Name.FirstName);
            Assert.IsNotNull(Name.LastName);
            Assert.IsNotNull(Name.Major);
        }