Esempio n. 1
0
        public void TestUpdateRsrp_MeasurePlanCell()
        {
            FakeMeasurableCell mmCell = new FakeMeasurableCell
            {
                ReceivedRsrp = -10
            };

            smpCell.UpdateRsrpPower(mmCell);
            Assert.AreEqual(smpCell.ReceivePower, 0.2);
        }
Esempio n. 2
0
        public void TestUpdateRsrp_MeasurePlanCell()
        {
            FakeMeasurableCell mmCell = new FakeMeasurableCell
            {
                ReceivedRsrp = -10
            };

            smpCell.UpdateRsrpPower(mmCell);
            Assert.AreEqual(smpCell.ReceivePower, 0.2);
        }
Esempio n. 3
0
        public void TestIntialize()
        {
            FakeMeasurableCell mmCell = new FakeMeasurableCell
            {
                OutdoorCell  = new StubOutdoorCell(112, 22, 10),
                PciModx      = 2,
                ReceivedRsrp = -10
            };

            smpCell = new MeasurePlanCell(mmCell);
        }
Esempio n. 4
0
        public void TestIntialize()
        {
            FakeMeasurableCell mmCell = new FakeMeasurableCell
            {
                OutdoorCell = new StubOutdoorCell(112, 22, 10),
                PciModx = 2,
                ReceivedRsrp = -10
            };

            smpCell = new MeasurePlanCell(mmCell);
        }
Esempio n. 5
0
        public static MeasurePoint GenerateMeasurePoint(IOutdoorCell[] cellList,
                                                        byte[] pciModxList, double[] receivedRsrpList)
        {
            IList <MeasurableCell> mCellList = new List <MeasurableCell>();

            for (int i = 0; i < cellList.Length; i++)
            {
                FakeMeasurableCell mmCell = new FakeMeasurableCell()
                {
                    OutdoorCell  = cellList[i],
                    PciModx      = pciModxList[i],
                    ReceivedRsrp = receivedRsrpList[i]
                };
                mCellList.Add(mmCell);
            }

            FakeMeasurePoint mmPoint = new FakeMeasurePoint()
            {
                MeasurableCellList = mCellList
            };

            return(mmPoint.MeasurePoint);
        }
Esempio n. 6
0
        public static MeasurePoint GenerateMeasurePoint(IOutdoorCell[] cellList,
            byte[] pciModxList, double[] receivedRsrpList)
        {
            IList<MeasurableCell> mCellList = new List<MeasurableCell>();

            for (int i = 0; i < cellList.Length; i++)
            {
                FakeMeasurableCell mmCell = new FakeMeasurableCell()
                {
                    OutdoorCell = cellList[i],
                    PciModx = pciModxList[i],
                    ReceivedRsrp = receivedRsrpList[i]
                };
                mCellList.Add(mmCell);
            }

            FakeMeasurePoint mmPoint = new FakeMeasurePoint()
            {
                MeasurableCellList = mCellList
            };

            return mmPoint.MeasurePoint;
        }