public void BaseName()
        {
            var su     = new DateTimeTypeHelp();
            var result = su.BaseName(new DateTime(2020, 05, 25));

            result.Should().Be("DateTime");
        }
        public void ToConstructString()
        {
            var parttern = File.ReadAllText(CurrentFolder)
                           .SplitLine("----------------------------")
                           .First();

            var su     = new DateTimeTypeHelp();
            var result = su.ToConstructString(new DateTime(2020, 05, 25));

            result.Should().Be(parttern);
        }
        public void ReassemblyStringInBrackets()
        {
            var parttern = File.ReadAllText(CurrentFolder)
                           .SplitLine("----------------------------")
                           .ToArray()[1];

            var su     = new DateTimeTypeHelp();
            var result = new[]
            {
                new DateTime(2020, 05, 25),
                new DateTime(2020, 05, 26, 01, 26, 17),
            }.DumpToString();

            result.Should().Be(parttern);
        }