public void UvEqualString()
        {
            Dictionary <string, string> customVar = new Dictionary <string, string>
            {
                { "a", "text1" },
                { "b", "123" },
                { "c", "1.###3" },
                { "d", "2,48" }
            };
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "text1", "a" },
                { "123", "b" },
                { "1.###3", "c" },
                { "2,48", "d" }
            };
            Scenario sc = new Scenario(values, "string", "uv_eq", parser, templateFullNotation, customVar);

            sc.Test(true);

            sc = new Scenario(values, "string", "uv_le", parser, templateFullNotation, customVar);
            sc.Test(true);

            sc = new Scenario(values, "string", "uv_ge", parser, templateFullNotation, customVar);
            sc.Test(true);
        }
        public void UvEqualInteger()
        {
            Dictionary <string, string> customVar = new Dictionary <string, string>
            {
                { "a", "-10" },
                { "b", "-1" },
                { "c", "0" },
                { "d", "1" }
            };
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "-10", "a" },
                { "-1", "b" },
                { "0", "c" },
                { "1", "d" }
            };
            Scenario sc = new Scenario(values, "integer", "uv_eq", parser, templateFullNotation, customVar);

            sc.Test(true);

            sc = new Scenario(values, "integer", "uv_le", parser, templateFullNotation, customVar);
            sc.Test(true);

            sc = new Scenario(values, "integer", "uv_ge", parser, templateFullNotation, customVar);
            sc.Test(true);
        }
 public void EqualBoolean()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"true", "true"},
         {"false", "false"}
     };
     Scenario sc = new Scenario(values, "boolean", "eq", parser, templateAll, null);
     sc.Test(true);
 }
        public void EqualBoolean()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "true", "true" },
                { "false", "false" }
            };
            Scenario sc = new Scenario(values, "boolean", "eq", parser, templateAll, null);

            sc.Test(true);
        }
        public void NotEqualFloat()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "1.0", "-1.0" },
                { "0.1", "-0.0" },
                { "-0.0", "10.0" },
                { "-1.0", "1.0" }
            };
            Scenario sc = new Scenario(values, "real", "ne", parser, templateFullNotation, null);

            sc.Test(true);
        }
        public void LessThanString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "tex1", "teyt1 " },
                { "12x", "124y" },
                { "Ac", "abc" },
                { "1abd", "1hjkhkjhb" }
            };
            Scenario sc = new Scenario(values, "string", "lt", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void GreaterThanString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "teyt1 ", "text1" },
                { "123ddgd", "sdfs" },
                { "abc ", "Abc" },
                { "1abcd1abcd", "1abcd" }
            };
            Scenario sc = new Scenario(values, "string", "gt", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void GreaterThanFloat()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "1.0", "-1.0" },
                { "1.1", "0.0" },
                { "10.0", "0.0" },
                { "-1.0", "-2.0" }
            };
            Scenario sc = new Scenario(values, "real", "gt", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void EqualString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "text1", "text1" },
                { "123x", "123x" },
                { "", "" },
                { " ", " " }
            };
            Scenario sc = new Scenario(values, "string", "eq", parser, templateAll, null);

            sc.Test(true);
        }
        public void EqualInteger()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "10", "10" },
                { "-60", "-60" },
                { "0", "-0" },
                { "-1", "-1" }
            };
            Scenario sc = new Scenario(values, "integer", "eq", parser, templateAll, null);

            sc.Test(true);
        }
        public void IpNotEqualInteger()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "-1", "10" },
                { "1", "12" },
                { "20", "-5" },
                { "11", "1" }
            };
            Scenario sc = new Scenario(values, "integer", "ip_ne", parser, templateFullNotation, null);

            sc.Test(true);
        }
        public void EqualFloat()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "1.0", "1.0" },
                { "0.0", "0.0" },
                { "-0.0", "0.0" },
                { "-1.0", "-1.0" }
            };
            Scenario sc = new Scenario(values, "real", "eq", parser, templateAll, null);

            sc.Test(true);
        }
        public void NotEqualString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "text1", "text1 " },
                { "1.2.3", " 1.2.3" },
                { "ABC", "abc" },
                { "abcd", "ABCD" }
            };
            Scenario sc = new Scenario(values, "string", "ne", parser, templateFullNotation, null);

            sc.Test(true);
        }
        public void NotEqualInteger()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "10", "-10" },
                { "-60", "60" },
                { "0", "-10" },
                { "-0", "2" },
                { "1", "2" }
            };
            Scenario sc = new Scenario(values, "integer", "ne", parser, templateFullNotation, null);

            sc.Test(true);
        }
        public void GreaterThanInteger()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "11", "10" },
                { "-60", "-61" },
                { "1", "0" },
                { "111", "11" },
                { "10", "-1" }
            };
            Scenario sc = new Scenario(values, "integer", "gt", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void LessEqualFloat()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "-1.1", "1.0" },
                { "0.2", "1.0" },
                { "8.0", "10.0" },
                { "-2.0", "-1.0" },
                { "1.0", "1.0" },
                { "0.0", "0.0" },
                { "-1.0", "-1.0" }
            };
            Scenario sc = new Scenario(values, "real", "le", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void GreaterEqualString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "aaaaaa", "bbb" },
                { "124x", "123x" },
                { "abc ", "Abc" },
                { "abaa", "1d" },
                { "tegjggxt1", "abaa" },
                { "123x", "123x" },
                { "   ", " " }
            };
            Scenario sc = new Scenario(values, "string", "ge", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void LessEqualString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "text1", "teyt1 " },
                { "123a", "124b" },
                { "Abc", "abc" },
                { "d", "1b" },
                { "teXt1", "teXt1" },
                { "1234a", "1234a" },
                { "", "" },
                { " ", "  " }
            };
            Scenario sc = new Scenario(values, "string", "le", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void MatchingRegexString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "teyt1 ", ".*" },
                { "c", "." },
                { "AZ123", "[A-Z0-9]*" },
                { "3", "[A-Z0-9]*" },
                { "text1", "text1" },
                { "123", "123" },
                { "teeeeeext1", "te*xt1" },
                { "ahoj", "ah*oj" }
            };
            Scenario sc = new Scenario(values, "string", "mp", parser, templateFullNotation, null);

            sc.Test(true);
        }
        public void LessEqualInteger()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "100", "101" },
                { "-61", "-60" },
                { "2", "11" },
                { "1", "11" },
                { "-2", "1" },
                { "10", "10" },
                { "-60", "-60" },
                { "0", "0" },
                { "-1", "-1" }
            };
            Scenario sc = new Scenario(values, "integer", "le", parser, templateAllExComp, null);

            sc.Test(true);
        }
        public void IpEqualString()
        {
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "text1", "text1" },
                { "123", "123" },
                { "c", "c" },
                { "d", "d" }
            };

            Scenario sc = new Scenario(values, "string", "ip_eq", parser, templateFullNotation, null);

            sc.Test(true);

            sc = new Scenario(values, "string", "ip_le", parser, templateFullNotation, null);
            sc.Test(true);

            sc = new Scenario(values, "string", "ip_ge", parser, templateFullNotation, null);
            sc.Test(true);
        }
        public void UvGreaterThanFloat()
        {
            Dictionary <string, string> customVar = new Dictionary <string, string>
            {
                { "a", "-10.2" },
                { "b", "-1" },
                { "c", "0" },
                { "d", "1.22" }
            };
            Dictionary <string, string> values = new Dictionary <string, string>
            {
                { "-10", "a" },
                { "1", "b" },
                { "20", "c" },
                { "1.23", "d" }
            };
            Scenario sc = new Scenario(values, "real", "uv_gt", parser, templateFullNotation, customVar);

            sc.Test(true);

            sc = new Scenario(values, "real", "uv_ge", parser, templateFullNotation, customVar);
            sc.Test(true);
        }
 public void GreaterThanString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"teyt1 ", "text1"},
         {"123ddgd", "sdfs"},
         {"abc ", "Abc"},
         {"1abcd1abcd", "1abcd"}
     };
     Scenario sc = new Scenario(values, "string", "gt", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void LessEqualString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"text1", "teyt1 "},
         {"123a", "124b"},
         {"Abc", "abc"},
         {"d", "1b"},
         {"teXt1", "teXt1"},
         {"1234a", "1234a"},
         {"", ""},
         {" ", "  "}
     };
     Scenario sc = new Scenario(values, "string", "le", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void IpNotEqualInteger()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"-1", "10"},
         {"1", "12"},
         {"20", "-5"},
         {"11", "1"}
     };
     Scenario sc = new Scenario(values, "integer", "ip_ne", parser, templateFullNotation, null);
     sc.Test(true);
 }
 public void LessThanFloat()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"-1.0", "1.0"},
         {"0.1", "1.0"},
         {"0.0", "10.0"},
         {"-2.0", "-1.0"}
     };
     Scenario sc = new Scenario(values, "real", "lt", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void NotEqualInteger()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"10", "-10"},
         {"-60", "60"},
         {"0", "-10"},
         {"-0", "2"},
         {"1", "2"}
     };
     Scenario sc = new Scenario(values, "integer", "ne", parser, templateFullNotation, null);
     sc.Test(true);
 }
 public void LessThanInteger()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"10", "11"},
         {"-61", "-60"},
         {"0", "1"},
         {"1", "11"},
         {"-1", "1"}
     };
     Scenario sc = new Scenario(values, "integer", "lt", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void EqualFloat()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"1.0", "1.0"},
         {"0.0", "0.0"},
         {"-0.0", "0.0"},
         {"-1.0", "-1.0"}
     };
     Scenario sc = new Scenario(values, "real", "eq", parser, templateAll, null);
     sc.Test(true);
 }
 public void UvNotEqualInteger()
 {
     Dictionary<string, string> customVar = new Dictionary<string, string>
     {
         {"a", "-10"},
         {"b", "-1"},
         {"c", "0"},
         {"d", "1"}
     };
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"-1", "a"},
         {"1", "b"},
         {"20", "c"},
         {"11", "d"}
     };
     Scenario sc = new Scenario(values, "integer", "uv_ne", parser, templateFullNotation, customVar);
     sc.Test(true);
 }
        public void UvEqualString()
        {
            Dictionary<string, string> customVar = new Dictionary<string, string>
            {
                {"a", "text1"},
                {"b", "123"},
                {"c", "1.###3"},
                {"d", "2,48"}
            };
            Dictionary<string, string> values = new Dictionary<string, string>
            {
                {"text1", "a"},
                {"123", "b"},
                {"1.###3", "c"},
                {"2,48", "d"}
            };
            Scenario sc = new Scenario(values, "string", "uv_eq", parser, templateFullNotation, customVar);
            sc.Test(true);

            sc = new Scenario(values, "string", "uv_le", parser, templateFullNotation, customVar);
            sc.Test(true);

            sc = new Scenario(values, "string", "uv_ge", parser, templateFullNotation, customVar);
            sc.Test(true);
        }
        public void IpEqualString()
        {
            Dictionary<string, string> values = new Dictionary<string, string>
            {
                {"text1", "text1"},
                {"123", "123"},
                {"c", "c"},
                {"d", "d"}
            };

            Scenario sc = new Scenario(values, "string", "ip_eq", parser, templateFullNotation, null);
            sc.Test(true);

            sc = new Scenario(values, "string", "ip_le", parser, templateFullNotation, null);
            sc.Test(true);

            sc = new Scenario(values, "string", "ip_ge", parser, templateFullNotation, null);
            sc.Test(true);
        }
 public void EqualInteger()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"10", "10"},
         {"-60", "-60"},
         {"0", "-0"},
         {"-1", "-1"}
     };
     Scenario sc = new Scenario(values, "integer", "eq", parser, templateAll, null);
     sc.Test(true);
 }
 public void GreaterEqualFloat()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"1.0", "-1.0"},
         {"1", "0"},
         {"10", "0"},
         {"-1.0", "-2.0"},
         {"1.112", "1.112"},
         {"0", "0"},
         {"-1.01", "-1.01"}
     };
     Scenario sc = new Scenario(values, "real", "ge", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void MatchingRegexString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"teyt1 ", ".*"},
         {"c", "."},
         {"AZ123", "[A-Z0-9]*"},
         {"3", "[A-Z0-9]*"},
         {"text1", "text1"},
         {"123", "123"},
         {"teeeeeext1", "te*xt1"},
         {"ahoj", "ah*oj"}
     };
     Scenario sc = new Scenario(values, "string", "mp", parser, templateFullNotation, null);
     sc.Test(true);
 }
 public void NotEqualFloat()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"1.0", "-1.0"},
         {"0.1", "-0.0"},
         {"-0.0", "10.0"},
         {"-1.0", "1.0"}
     };
     Scenario sc = new Scenario(values, "real", "ne", parser, templateFullNotation, null);
     sc.Test(true);
 }
 public void GreaterEqualInteger()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"11", "10"},
         {"-60", "-61"},
         {"1", "0"},
         {"12", "1"},
         {"2", "-1"},
         {"9", "9"},
         {"60", "60"},
         {"0", "0"},
         {"-1", "-1"}
     };
     Scenario sc = new Scenario(values, "integer", "ge", parser, templateAllExComp, null);
     sc.Test(true);
 }
        public void UvGreaterThanFloat()
        {
            Dictionary<string, string> customVar = new Dictionary<string, string>
            {
                {"a", "-10.2"},
                {"b", "-1"},
                {"c", "0"},
                {"d", "1.22"}
            };
            Dictionary<string, string> values = new Dictionary<string, string>
            {
                {"-10", "a"},
                {"1", "b"},
                {"20", "c"},
                {"1.23", "d"}
            };
            Scenario sc = new Scenario(values, "real", "uv_gt", parser, templateFullNotation, customVar);
            sc.Test(true);

            sc = new Scenario(values, "real", "uv_ge", parser, templateFullNotation, customVar);
            sc.Test(true);
        }
 public void GreaterEqualString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"aaaaaa", "bbb"},
         {"124x", "123x"},
         {"abc ", "Abc"},
         {"abaa", "1d"},
         {"tegjggxt1", "abaa"},
         {"123x", "123x"},
         {"   ", " "}
     };
     Scenario sc = new Scenario(values, "string", "ge", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void LessThanString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"tex1", "teyt1 "},
         {"12x", "124y"},
         {"Ac", "abc"},
         {"1abd", "1hjkhkjhb"}
     };
     Scenario sc = new Scenario(values, "string", "lt", parser, templateAllExComp, null);
     sc.Test(true);
 }
 public void EqualString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"text1", "text1"},
         {"123x", "123x"},
         {"", ""},
         {" ", " "}
     };
     Scenario sc = new Scenario(values, "string", "eq", parser, templateAll, null);
     sc.Test(true);
 }
 public void NotEqualString()
 {
     Dictionary<string, string> values = new Dictionary<string, string>
     {
         {"text1", "text1 "},
         {"1.2.3", " 1.2.3"},
         {"ABC", "abc"},
         {"abcd", "ABCD"}
     };
     Scenario sc = new Scenario(values, "string", "ne", parser, templateFullNotation, null);
     sc.Test(true);
 }