Beispiel #1
0
        public void InRangePresentFixNoNeed()
        {
            InRangeUse check     = new InRangeUse();
            var        fixedCode = check.Fix(noInrangeUseSnippet, "");

            Assert.AreEqual(noInrangeUseSnippet, fixedCode);
        }
Beispiel #2
0
        public void InRangePresentFix()
        {
            InRangeUse check     = new InRangeUse();
            var        fixedCode = check.Fix(inRangeUseSnippet, "");

            Assert.AreEqual(true, fixedCode.Contains("function InRange("));
        }