public void CanParse_fxh_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File = "common\\name_lists\\t.txt"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeFalse();
            args.File = "common\\test.fxh";
            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_common_root_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\alerts.txt",
                GameType = "Stellaris"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
            args.File = "common\\message_types.txt";
            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_text_sound_file_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File = "sound\\test.fxh"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_shader_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File = "common\\test.shader"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_should_be_false()
        {
            var args = new CanParseArgs()
            {
                File = "common\\ship_designs\\test.txt"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeFalse();
        }
        public void CanParse_csv_fils_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\csv.csv",
                GameType = "HeartsofIronIV"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_diplo_phrase_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\diplo_phrases\\test.txt",
                GameType = "Stellaris"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_map_galaxy_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "map\\galaxy\\test.txt",
                GameType = "Stellaris"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_component_tags_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\component_tags\\tags.txt",
                GameType = "Stellaris"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_start_screen_messages_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\start_screen_messages\\t.txt",
                GameType = "Stellaris"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_map_csv_file_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "map\\fake.txt",
                GameType = "HeartsofIronIV"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_terrain_tags_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\terrain\\fake.txt",
                GameType = "HeartsofIronIV"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_graphicalculturetype_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\graphicalculturetype.txt",
                GameType = "HeartsofIronIV"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeTrue();
        }
        public void CanParse_script_should_be_false()
        {
            var args = new CanParseArgs()
            {
                File     = "script\\folder\\fake.mp3",
                GameType = "HeartsofIronIV"
            };
            var parser = new WholeTextParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeFalse();
        }