Results for “Structures & function interfaces”
Small, practical examples. Search by task or narrow things down below.
Call a function with a return value
Call a function with a return value using a complete Go program with explicit sample inputs.
Go✓ Tested
Call a library function
Python: Use a standard absolute-value function with a small negative number.
Python✓ Tested
Call a library function
C#: Use a standard absolute-value function with a small negative number.
C#✓ Tested
Call a library function
Java: Use a standard absolute-value function with a small negative number.
Java✓ Tested
Call a library function
JavaScript: Use a standard absolute-value function with a small negative number.
JavaScript✓ Tested
Call a library function
TypeScript: Use a standard absolute-value function with a small negative number.
TypeScript✓ Tested
Call a library function
C++: Use a standard absolute-value function with a small negative number.
C++✓ Tested
Call a library function
C: Use a standard absolute-value function with a small negative number.
C✓ Tested
Call a typed function
Call a typed function in a complete Rust program using the standard library.
Rust✓ Tested
Check a function with table-driven cases
Check a function with table-driven cases using a complete Go program with explicit sample inputs.
Go✓ Tested
Check whether a function has been defined
Bash Scripts: declare -F tests a function name without executing it.
Bash Scripts✓ Tested
Choose an equality function for signal values
Choose an equality function for signal values with a standalone Angular component and explicit browser behavior.
Angular✓ Tested