added sampling function for NormalN and approximation of normalN using samples + testcases for both

This commit is contained in:
toni
2017-03-13 12:55:31 +01:00
parent 7ec5fef697
commit d065015f7d
4 changed files with 114 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ public:
Assert::isBetween(params.txp, -90.0f, -30.0f, "TXP out of bounds [-50:-30]");
Assert::isBetween(params.exp, 1.0f, 4.0f, "EXP out of bounds [1:4]");
Assert::equal(beacons.find(beacon), beacons.end(), "AccessPoint already present!");
//Assert::equal(beacons.find(beacon), beacons.end(), "AccessPoint already present!");
// add
beacons.insert( std::pair<MACAddress, APEntry>(beacon, params) );