mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Adding missing file from ATS_String_Addition test.
This commit is contained in:
parent
33146ca75a
commit
25770f69a8
@ -0,0 +1,13 @@
|
||||
void Test_Equal(char *testString, char *expected, const String &actual)
|
||||
{
|
||||
char buf[100]; actual.toCharArray(buf, 100);
|
||||
boolean b = (strcmp(buf, expected) == 0);
|
||||
ATS_PrintTestStatus(testString, b);
|
||||
if (!b) {
|
||||
Serial.print("expected '");
|
||||
Serial.print(expected);
|
||||
Serial.print("', actual '");
|
||||
Serial.print(actual);
|
||||
Serial.println("'");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user