Created
April 22, 2014 04:14
-
-
Save corytodd/11165166 to your computer and use it in GitHub Desktop.
Unit Test Async
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <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