Example #1
0
        public void AllReplacementStrings()
        {
            var replacementStrings = ReplacementStringConstants.GetAll();

            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.DesignatedFoe));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.Energy));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.Gender));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.Height));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.KnowledgeCategory));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.PartialAlignment));
            Assert.That(replacementStrings, Contains.Item(ReplacementStringConstants.FullAlignment));
            Assert.That(replacementStrings.Count(), Is.EqualTo(7));
        }
Example #2
0
 public PercentileTests()
 {
     allCapsRegex       = new Regex("[A-Z]{4}[A-Z]+");
     replacementStrings = ReplacementStringConstants.GetAll();
 }