Beispiel #1
0
 public void GetConstellationFromBirthday(string date)
 {
     Check.True(ConstellationCommon.GetConstellationFromBirthday(DateTime.Parse(date)) == GetConstellation(date), "constellation is error");
 }
 public void GetConstellationFromBirthday(string birthday, string result)
 {
     Check.True((ConstellationCommon.GetConstellationFromBirthday(DateTime.Parse(birthday))?.Name ?? "") == result,
                "方法有误");
 }