Exemplo n.º 1
0
 private void TryDetectChannelInvalidTestBase(uint frequency)
 {
     Assert.IsFalse(NativeWifi.TryDetectBandChannel(frequency, out _, out _));
 }
Exemplo n.º 2
0
 private void TryDetectChannelValidTestBase(uint frequency, float expectedBand, int expectedChannel)
 {
     Assert.IsTrue(NativeWifi.TryDetectBandChannel(frequency, out var band, out var channel));
     Assert.AreEqual(expectedBand, band);
     Assert.AreEqual(expectedChannel, channel);
 }