Exemple #1
0
        public void CanParse_decision_categories_should_be_false()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\decisions\\categories\\test.txt",
                GameType = "HeartsofIronIV"
            };
            var parser = new Games.HOI4.InnerLayerParser(new CodeParser(new Logger()), null);

            parser.CanParse(args).Should().BeFalse();
        }
Exemple #2
0
        public void CanParse_charactrs_should_be_true()
        {
            var args = new CanParseArgs()
            {
                File     = "common\\characters\\test.txt",
                GameType = "HeartsofIronIV"
            };
            var parser = new Games.HOI4.InnerLayerParser(new CodeParser(new Logger()), null);

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