Skip to content

Instantly share code, notes, and snippets.

@zappingseb

zappingseb/RTest_part.xml

Last active Dec 31, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.