Skip to content

Instantly share code, notes, and snippets.

@corytodd
Created April 22, 2014 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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