public void ToAny_ValueValid()
        {
            string     str   = "a";
            TestStruct?value = ConvertEx.ToAny <TestStruct>(str, TestStruct.TryParse);

            Assert.IsNotNull(value);
        }
        public void ToAny_ValueEmpty()
        {
            string     str   = string.Empty;
            TestStruct?value = ConvertEx.ToAny <TestStruct>(str, TestStruct.TryParse);

            Assert.IsNull(value);
        }
 public void ToAny_ParseMethodNull()
 {
     string     str   = "a";
     TestStruct?value = ConvertEx.ToAny <TestStruct>(str, null);
 }