Test a function: Difference between revisions
→{{header|Go}}: Add Fortran.
No edit summary |
(→{{header|Go}}: Add Fortran.) |
||
Line 476:
}
</lang>
=={{header|Fortran}}==
There is no standard or popular facility. Compilers usually do not even check that a function or subroutine is invoked with the correct number of parameters let alone the correct types. Testing that a function returns expected values is entirely a matter for the programmer and whatever tools that may be devised, either directly for the function in question or adapted from some other project where this had been done.
=={{header|Go}}==
|