From c6a9d8611fc9dfaa2c751d927fe04ca344bde31a Mon Sep 17 00:00:00 2001 From: David Konsumer Date: Mon, 16 Sep 2024 13:19:23 -0700 Subject: [PATCH] add some testing functions for new cart bindings --- api/testing.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 api/testing.yml diff --git a/api/testing.yml b/api/testing.yml new file mode 100644 index 0000000..bc8714c --- /dev/null +++ b/api/testing.yml @@ -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)