Пример #1
0
        public void GeneratorReturnsString()
        {
            RankGeneratorService testExample = new RankGeneratorService();
            var result = testExample.Generate();

            Assert.IsTrue(result is string);
        }
Пример #2
0
        public void GeneratorReturnsResultNotZeroLength()
        {
            RankGeneratorService testExample = new RankGeneratorService();
            string result = testExample.Generate();

            Assert.IsTrue(result.Length > 0);
        }