mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fixes for utility.scad docs.
This commit is contained in:
parent
fdbecb5f9b
commit
da0a75ad16
1 changed files with 2 additions and 4 deletions
|
@ -444,7 +444,7 @@ function num_true(l, func) =
|
|||
|
||||
|
||||
// Function: default()
|
||||
// Synopsis Returns a default value if the argument is 'undef', else returns the argument.
|
||||
// Synopsis: Returns a default value if the argument is 'undef', else returns the argument.
|
||||
// Topics: Undef Handling
|
||||
// See Also: first_defined(), one_defined(), num_defined()
|
||||
// Usage:
|
||||
|
@ -807,7 +807,7 @@ module no_children(count) {
|
|||
|
||||
|
||||
// Module: req_children()
|
||||
// Assert that the calling module requires children.
|
||||
// Synopsis: Assert that the calling module requires children.
|
||||
// Topics: Error Checking
|
||||
// See Also: no_function(), no_module()
|
||||
// Usage:
|
||||
|
@ -892,7 +892,6 @@ function _valstr(x) =
|
|||
// Tests if the value gotten is what was expected, plus or minus 1e-9. If not, then
|
||||
// the expected and received values are printed to the console and
|
||||
// an assertion is thrown to stop execution.
|
||||
//
|
||||
// Returns false if both 'got' and 'expected' are 'nan'.
|
||||
// Arguments:
|
||||
// got = The value actually received.
|
||||
|
@ -926,7 +925,6 @@ module assert_approx(got, expected, info) {
|
|||
// Description:
|
||||
// Tests if the value gotten is what was expected. If not, then the expected and received values
|
||||
// are printed to the console and an assertion is thrown to stop execution.
|
||||
//
|
||||
// Returns true if both 'got' and 'expected' are 'nan'.
|
||||
// Arguments:
|
||||
// got = The value actually received.
|
||||
|
|
Loading…
Reference in a new issue