Example #1
0
        public void test4()
        {
            Solar solar = new Solar(2020, 4, 10);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("田鼠化为鴽", lunar.getWuHou(), solar.toString());
        }
Example #2
0
        public void test3()
        {
            Solar solar = new Solar(2017, 1, 5);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("雁北乡", lunar.getWuHou(), solar.toString());
        }
Example #3
0
        public void test2()
        {
            Solar solar = new Solar(2021, 1, 15);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("雉始雊", lunar.getWuHou(), solar.toString());
        }
Example #4
0
        public void test1()
        {
            Solar solar = new Solar(2020, 4, 23);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("萍始生", lunar.getWuHou(), solar.toString());
        }
Example #5
0
        public void test8()
        {
            Solar solar = new Solar(2020, 12, 11);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("鹖鴠不鸣", lunar.getWuHou(), solar.toString());
        }
Example #6
0
        public void test6()
        {
            Solar solar = new Solar(2020, 6, 1);
            Lunar lunar = solar.getLunar();

            Assert.AreEqual("麦秋至", lunar.getWuHou(), solar.toString());
        }