Change a.get_ideal_... to Algorithm::get_ideal_...

In the previous change, this method was changed to an associated
function.
This commit is contained in:
Orne Brocaar 2023-01-09 09:49:08 +00:00
parent 0193d783b0
commit 6016159c86

View File

@ -418,10 +418,8 @@ mod test {
}, },
]; ];
let a = Algorithm::new();
for tst in &tests { for tst in &tests {
let (tx_power_index, dr) = a.get_ideal_tx_power_index_and_dr( let (tx_power_index, dr) = Algorithm::get_ideal_tx_power_index_and_dr(
tst.n_step, tst.n_step,
tst.tx_power_index, tst.tx_power_index,
tst.dr, tst.dr,