コード例 #1
0
        public void CheckStates(CodeConfig config, IEnumerable <string> expected)
        {
            var states = config.EnumerateStates().ToList();

            states
            .Select(s => s.State.Values.Format())
            .ShouldBe(expected, true);
        }
コード例 #2
0
        public void CheckCount(CodeConfig config, int expected)
        {
            var states = config.EnumerateStates();

            states.Count().ShouldBe(expected);
        }