public void TestUpdateRsrp_MeasurePlanCell() { FakeMeasurableCell mmCell = new FakeMeasurableCell { ReceivedRsrp = -10 }; smpCell.UpdateRsrpPower(mmCell); Assert.AreEqual(smpCell.ReceivePower, 0.2); }
public void TestIntialize() { FakeMeasurableCell mmCell = new FakeMeasurableCell { OutdoorCell = new StubOutdoorCell(112, 22, 10), PciModx = 2, ReceivedRsrp = -10 }; smpCell = new MeasurePlanCell(mmCell); }
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); }
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; }