Skip to content

Instantly share code, notes, and snippets.

@zappingseb
Last active December 31, 2018 13:29
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 zappingseb/9b801907d18cf7c10c85d971bb63b58e to your computer and use it in GitHub Desktop.
Save zappingseb/9b801907d18cf7c10c85d971bb63b58e to your computer and use it in GitHub Desktop.
RTest: part1
<my_function test-desc="Test data.frame">
<params>
<RTestData_input_data param="data" name="test01" />
</params>
<reference>
<col-defs>
<coldef name="x" type="numeric" /><coldef name="y" type="numeric" /><coldef name="sum" type="numeric" />
</col-defs>
<row>
<cell>1</cell><cell>2</cell><cell>3</cell>
</row>
<row>
<cell>1</cell><cell>2</cell><cell>3</cell>
</row>
</reference>
<testspec>
<execution execution-type="silent" />
<return-value compare-type="equal" diff-type="absolute"
tolerance="0.001" />
</testspec>
</my_function>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment