示例#1
0
        public void LLIntilizationUserString()
        {
            string expected = "ll=";
            LL     LL       = new LL("UserString");

            expected += "UserString";
            Assert.AreEqual(expected, LL.GetPartUrl());
        }
示例#2
0
        public void LLGetPartUrlStandart()
        {
            double lat = 53.1565165498;
            double lon = 93.5611612361;

            LL LL = new LL(lat, lon);

            string result = $"ll={LL.LonMapCenter.ToString().Replace(',', '.')}" +
                            $",{LL.LatMapCenter.ToString().Replace(',', '.')}";

            Assert.AreEqual(result, LL.GetPartUrl());
        }