Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.
Dependencies: MaximTinyTester MAX11131 CmdLine MAX541 USBDevice
Diff: Test_Main_MAX11131.cpp
- Revision:
- 31:b9e5a1745cce
- Parent:
- 30:9b4063876773
- Child:
- 32:3d22e3e23670
--- a/Test_Main_MAX11131.cpp Sat May 29 03:17:39 2021 -0700 +++ b/Test_Main_MAX11131.cpp Tue Jun 01 00:59:45 2021 -0700 @@ -1962,6 +1962,7 @@ // docTest_item['action'] = 'Init()' // docTest_item['funcName'] = 'Init' // call-function + // selfTestFunctionClosures['Init']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.Init(()), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.Init", fn_MAX11131_Init, /* empty docTest_argList */ /* empty expect: */ (void)None); // g_MAX11131_device.Init(); // @@ -2059,6 +2060,7 @@ // docTest_item['funcName'] = 'ScanStandardExternalClock' // docTest_item['expect-value'] = '16' // call-function + // selfTestFunctionClosures['ScanStandardExternalClock']['returnType'] = 'int' // ASSERT_EQ(g_MAX11131_device.ScanStandardExternalClock(()), (int)16); // Scan_0100_StandardExt tinyTester.FunctionCall_d_Expect("MAX11131.ScanStandardExternalClock", fn_MAX11131_ScanStandardExternalClock, /* empty docTest_argList */ /* expect: */ (int)16); // Scan_0100_StandardExt @@ -2084,6 +2086,7 @@ // docTest_item['action'] = 'ReadAINcode()' // docTest_item['funcName'] = 'ReadAINcode' // call-function + // selfTestFunctionClosures['ReadAINcode']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.ReadAINcode(()), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.ReadAINcode", fn_MAX11131_ReadAINcode, /* empty docTest_argList */ /* empty expect: */ (void)None); // g_MAX11131_device.ReadAINcode(); // @@ -2105,7 +2108,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[0]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[0]", (int)((g_MAX11131_device.RAW_misoData16[0]) & /* mask */ (0xF000)), /* expect: */ 0x0000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[0]", (int16_t)((g_MAX11131_device.RAW_misoData16[0]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x0000)); // channelId // @test RAW_misoData16[1] expect 0x1000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2115,7 +2122,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[1]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[1]", (int)((g_MAX11131_device.RAW_misoData16[1]) & /* mask */ (0xF000)), /* expect: */ 0x1000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[1]", (int16_t)((g_MAX11131_device.RAW_misoData16[1]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x1000)); // channelId // @test RAW_misoData16[2] expect 0x2000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2125,7 +2136,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[2]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[2]", (int)((g_MAX11131_device.RAW_misoData16[2]) & /* mask */ (0xF000)), /* expect: */ 0x2000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[2]", (int16_t)((g_MAX11131_device.RAW_misoData16[2]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x2000)); // channelId // @test RAW_misoData16[3] expect 0x3000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2135,7 +2150,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[3]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[3]", (int)((g_MAX11131_device.RAW_misoData16[3]) & /* mask */ (0xF000)), /* expect: */ 0x3000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[3]", (int16_t)((g_MAX11131_device.RAW_misoData16[3]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x3000)); // channelId // @test RAW_misoData16[4] expect 0x4000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2145,7 +2164,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[4]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[4]", (int)((g_MAX11131_device.RAW_misoData16[4]) & /* mask */ (0xF000)), /* expect: */ 0x4000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[4]", (int16_t)((g_MAX11131_device.RAW_misoData16[4]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x4000)); // channelId // @test RAW_misoData16[5] expect 0x5000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2155,7 +2178,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[5]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[5]", (int)((g_MAX11131_device.RAW_misoData16[5]) & /* mask */ (0xF000)), /* expect: */ 0x5000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[5]", (int16_t)((g_MAX11131_device.RAW_misoData16[5]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x5000)); // channelId // @test RAW_misoData16[6] expect 0x6000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2165,7 +2192,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[6]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[6]", (int)((g_MAX11131_device.RAW_misoData16[6]) & /* mask */ (0xF000)), /* expect: */ 0x6000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[6]", (int16_t)((g_MAX11131_device.RAW_misoData16[6]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x6000)); // channelId // @test RAW_misoData16[7] expect 0x7000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2175,7 +2206,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[7]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[7]", (int)((g_MAX11131_device.RAW_misoData16[7]) & /* mask */ (0xF000)), /* expect: */ 0x7000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[7]", (int16_t)((g_MAX11131_device.RAW_misoData16[7]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x7000)); // channelId // @test RAW_misoData16[8] expect 0x8000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2185,7 +2220,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[8]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[8]", (int)((g_MAX11131_device.RAW_misoData16[8]) & /* mask */ (0xF000)), /* expect: */ 0x8000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[8]", (int16_t)((g_MAX11131_device.RAW_misoData16[8]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x8000)); // channelId // @test RAW_misoData16[9] expect 0x9000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2195,7 +2234,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[9]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[9]", (int)((g_MAX11131_device.RAW_misoData16[9]) & /* mask */ (0xF000)), /* expect: */ 0x9000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[9]", (int16_t)((g_MAX11131_device.RAW_misoData16[9]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0x9000)); // channelId // @test RAW_misoData16[10] expect 0xA000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2205,7 +2248,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[10]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[10]", (int)((g_MAX11131_device.RAW_misoData16[10]) & /* mask */ (0xF000)), /* expect: */ 0xA000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[10]", (int16_t)((g_MAX11131_device.RAW_misoData16[10]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xA000)); // channelId // @test RAW_misoData16[11] expect 0xB000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2215,7 +2262,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[11]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[11]", (int)((g_MAX11131_device.RAW_misoData16[11]) & /* mask */ (0xF000)), /* expect: */ 0xB000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[11]", (int16_t)((g_MAX11131_device.RAW_misoData16[11]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xB000)); // channelId // @test RAW_misoData16[12] expect 0xC000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2225,7 +2276,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[12]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[12]", (int)((g_MAX11131_device.RAW_misoData16[12]) & /* mask */ (0xF000)), /* expect: */ 0xC000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[12]", (int16_t)((g_MAX11131_device.RAW_misoData16[12]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xC000)); // channelId // @test RAW_misoData16[13] expect 0xD000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2235,7 +2290,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[13]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[13]", (int)((g_MAX11131_device.RAW_misoData16[13]) & /* mask */ (0xF000)), /* expect: */ 0xD000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[13]", (int16_t)((g_MAX11131_device.RAW_misoData16[13]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xD000)); // channelId // @test RAW_misoData16[14] expect 0xE000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2245,7 +2304,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[14]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[14]", (int)((g_MAX11131_device.RAW_misoData16[14]) & /* mask */ (0xF000)), /* expect: */ 0xE000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[14]", (int16_t)((g_MAX11131_device.RAW_misoData16[14]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xE000)); // channelId // @test RAW_misoData16[15] expect 0xF000 mask 0xF000 // channelId // docTest_item['actionType'] = 'test-propname-expect-value' @@ -2255,7 +2318,11 @@ // docTest_item['mask-value'] = '0xF000' // docTest_item['propName'] = 'RAW_misoData16[15]' // test-propname-expect-value - tinyTester.Expect("MAX11131.RAW_misoData16[15]", (int)((g_MAX11131_device.RAW_misoData16[15]) & /* mask */ (0xF000)), /* expect: */ 0xF000); // channelId + // tinyTesterPropName_withoutBrackets = 'RAW_misoData16' for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16') for cast docTest_mask expression in test-propname-expect-value + // findStructItemByName('RAW_misoData16').get(r'CType') = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + // expect_expression_type = 'int16_t' for cast docTest_mask expression in test-propname-expect-value + tinyTester.Expect("MAX11131.RAW_misoData16[15]", (int16_t)((g_MAX11131_device.RAW_misoData16[15]) & /* mask */ (0xF000)), /* expect: */ (int16_t)(0xF000)); // channelId // @test tinyTester.print("MOSI <-- 1000_0000_0000_0000 ADC_CONFIGURATION REFSEL=0 SPM[1:0]=0 ECHO=0") // docTest_item['actionType'] = 'print-string' @@ -2272,6 +2339,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '0' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)0); // call-function ExternFunction // @@ -2282,6 +2350,7 @@ // docTest_item['funcName'] = 'SPIwrite16bits' // docTest_item['arglist'] = '0x8000' // call-function + // selfTestFunctionClosures['SPIwrite16bits']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIwrite16bits((int16_t)0x8000), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIwrite16bits", fn_MAX11131_SPIwrite16bits, (int16_t)0x8000, /* empty expect: */ (void)None); // g_MAX11131_device.SPIwrite16bits((int16_t)0x8000); // call-function ExternFunction // @@ -2292,6 +2361,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '1' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)1), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)1, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)1); // call-function ExternFunction // @@ -2311,6 +2381,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '0' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)0); // call-function ExternFunction // @@ -2321,6 +2392,7 @@ // docTest_item['funcName'] = 'SPIwrite16bits' // docTest_item['arglist'] = '0x27a4' // call-function + // selfTestFunctionClosures['SPIwrite16bits']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIwrite16bits((int16_t)0x27a4), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIwrite16bits", fn_MAX11131_SPIwrite16bits, (int16_t)0x27a4, /* empty expect: */ (void)None); // g_MAX11131_device.SPIwrite16bits((int16_t)0x27a4); // call-function ExternFunction // @@ -2331,6 +2403,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '1' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)1), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)1, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)1); // call-function ExternFunction // @@ -2349,6 +2422,7 @@ // docTest_item['action'] = 'Init()' // docTest_item['funcName'] = 'Init' // call-function + // selfTestFunctionClosures['Init']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.Init(()), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.Init", fn_MAX11131_Init, /* empty docTest_argList */ /* empty expect: */ (void)None); // g_MAX11131_device.Init(); // @@ -2359,6 +2433,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '0' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)0); // call-function ExternFunction // @@ -2369,6 +2444,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '1' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)1), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)1, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)1); // call-function ExternFunction // @@ -2388,6 +2464,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '0' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)0); // call-function ExternFunction // @@ -2398,6 +2475,7 @@ // docTest_item['funcName'] = 'SPIwrite16bits' // docTest_item['arglist'] = '0x8000' // call-function + // selfTestFunctionClosures['SPIwrite16bits']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIwrite16bits((int16_t)0x8000), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIwrite16bits", fn_MAX11131_SPIwrite16bits, (int16_t)0x8000, /* empty expect: */ (void)None); // g_MAX11131_device.SPIwrite16bits((int16_t)0x8000); // call-function ExternFunction // @@ -2408,6 +2486,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '1' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)1), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)1, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)1); // call-function ExternFunction // @@ -2427,6 +2506,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '0' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)0); // call-function ExternFunction // @@ -2437,6 +2517,7 @@ // docTest_item['funcName'] = 'SPIwrite16bits' // docTest_item['arglist'] = '0x19a0' // call-function + // selfTestFunctionClosures['SPIwrite16bits']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIwrite16bits((int16_t)0x19a0), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIwrite16bits", fn_MAX11131_SPIwrite16bits, (int16_t)0x19a0, /* empty expect: */ (void)None); // g_MAX11131_device.SPIwrite16bits((int16_t)0x19a0); // call-function ExternFunction // @@ -2447,6 +2528,7 @@ // docTest_item['funcName'] = 'SPIoutputCS' // docTest_item['arglist'] = '1' // call-function + // selfTestFunctionClosures['SPIoutputCS']['returnType'] = 'void' // ASSERT_EQ(g_MAX11131_device.SPIoutputCS((int)1), (void)None); // // tinyTester.FunctionCall_Expect("MAX11131.SPIoutputCS", fn_MAX11131_SPIoutputCS, (int)1, /* empty expect: */ (void)None); // g_MAX11131_device.SPIoutputCS((int)1); // call-function ExternFunction //