Skip to content

Instantly share code, notes, and snippets.

@corytodd
Created April 22, 2014 04:14
Show Gist options
  • Save corytodd/11165166 to your computer and use it in GitHub Desktop.
Save corytodd/11165166 to your computer and use it in GitHub Desktop.
Unit Test Async
/// <summary>
///A test for calibrate wifi
///</summary>
[TestMethod()]
public void CalibrateWifi_Test()
{
ICommDevice target = CTalk.Calibrate();
Action<byte> callback = new Action<byte>((byte b) => Assert.IsTrue(b == (byte)CTalkCommand.Code.ACK));
PTalk.CalibrateWifitarget, callback);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment