예제 #1
0
        public void IsСontinues_ShouldParseYearsSpan(string src, bool expected)
        {
            var res = ApiModelExtensions.IsСontinuing(src);

            Assert.Equal(expected, res);
        }
예제 #2
0
        public void GetLastYear_ShouldFindContinuing(string src, int?expected)
        {
            var res = ApiModelExtensions.GetLastYear(src);

            Assert.Equal(expected, res);
        }
예제 #3
0
        public void GetFirstYear_ShouldParseYearsSpan(string src, int?expected)
        {
            var res = ApiModelExtensions.GetFirstYear(src);

            Assert.Equal(expected, res);
        }