Skip to content

Commit

Permalink
add some testing functions for new cart bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Sep 16, 2024
1 parent 62e7770 commit c6a9d86
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions api/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
test_string_in:
returns: bool
args:
color: String
description: Test sending a string (pointer) from cart to host

test_string_out:
returns: String
args: []
description: Test sending a string (pointer) from host to cart (as return)

test_color_in:
returns: bool
args:
color: Color
description: Test sending a Color (pointer) from cart to host

test_color_out:
returns: Color
args: []
description: Test sending a Color (pointer) from host to cart (as return)

test_dimension_in:
returns: bool
args:
color: Dimension
description: Test sending a Dimension (pointer) from cart to host

test_dimension_out:
returns: Dimension
args: []
description: Test sending a Dimension (pointer) from host to cart (as return)

test_dimension_out_host:
returns: bool
args:
ret: Dimension
description: Test sending a Dimension (pointer) from host to cart (as argument)

0 comments on commit c6a9d86

Please sign in to comment.