Skip to content

Instantly share code, notes, and snippets.

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 JayBazuzi/f031dfe30750d4984891ff667544c09e to your computer and use it in GitHub Desktop.
Save JayBazuzi/f031dfe30750d4984891ff667544c09e to your computer and use it in GitHub Desktop.
#include "okra.h"
TEST("addToArray will result in a new copy of the array with the added items")
{
const vector<int> numbers = {1, 2, 3};
const vector<int> result = ArrayUtils::addtoArray(numbers, 4, 5, 6);
assertArrayEquals(vector<int>{1, 2, 3, 4, 5, 6}, result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment