Example #1
0
        public void test3()
        {
            Solar solar = new Solar(2020, 5, 21);

            Assert.AreEqual("双子", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 6, 21);
            Assert.AreEqual("双子", solar.getXingZuo(), solar.toYmd());
        }
Example #2
0
        public void test4()
        {
            Solar solar = new Solar(2020, 6, 22);

            Assert.AreEqual("巨蟹", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 7, 22);
            Assert.AreEqual("巨蟹", solar.getXingZuo(), solar.toYmd());
        }
Example #3
0
        public void test1()
        {
            Solar solar = new Solar(2020, 3, 21);

            Assert.AreEqual("白羊", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 4, 19);
            Assert.AreEqual("白羊", solar.getXingZuo(), solar.toYmd());
        }
Example #4
0
        public void test2()
        {
            Solar solar = new Solar(2020, 4, 20);

            Assert.AreEqual("金牛", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 5, 20);
            Assert.AreEqual("金牛", solar.getXingZuo(), solar.toYmd());
        }
Example #5
0
        public void test11()
        {
            Solar solar = new Solar(2021, 1, 20);

            Assert.AreEqual("水瓶", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2021, 2, 18);
            Assert.AreEqual("水瓶", solar.getXingZuo(), solar.toYmd());
        }
Example #6
0
        public void test12()
        {
            Solar solar = new Solar(2021, 2, 19);

            Assert.AreEqual("双鱼", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2021, 3, 20);
            Assert.AreEqual("双鱼", solar.getXingZuo(), solar.toYmd());
        }
Example #7
0
        public void test10()
        {
            Solar solar = new Solar(2020, 12, 22);

            Assert.AreEqual("摩羯", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2021, 1, 19);
            Assert.AreEqual("摩羯", solar.getXingZuo(), solar.toYmd());
        }
Example #8
0
        public void test9()
        {
            Solar solar = new Solar(2020, 11, 23);

            Assert.AreEqual("射手", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 12, 21);
            Assert.AreEqual("射手", solar.getXingZuo(), solar.toYmd());
        }
Example #9
0
        public void test8()
        {
            Solar solar = new Solar(2020, 10, 24);

            Assert.AreEqual("天蝎", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 11, 22);
            Assert.AreEqual("天蝎", solar.getXingZuo(), solar.toYmd());
        }
Example #10
0
        public void test7()
        {
            Solar solar = new Solar(2020, 9, 23);

            Assert.AreEqual("天秤", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 10, 23);
            Assert.AreEqual("天秤", solar.getXingZuo(), solar.toYmd());
        }
Example #11
0
        public void test6()
        {
            Solar solar = new Solar(2020, 8, 23);

            Assert.AreEqual("处女", solar.getXingZuo(), solar.toYmd());
            solar = new Solar(2020, 9, 22);
            Assert.AreEqual("处女", solar.getXingZuo(), solar.toYmd());
        }