Skip to content

Testing¤

Current issues:

  • one heading per example problematic
  • sub-level enumerations and lists not correctly aligned
  • multi-line values not possible
  • overall look

Examples¤

Notation: List of values are represented via square brackets. Example: [first, second] represents a list of two values “first” and “second”.


Example from Geometric mean: 1¤

  • Weights: [1, 2, 1]
  • Input values: [0.0, 0.0, 0.0]
  • Returns: 0.0

Example from Geometric mean: 1

Weights: [1, 2, 1]
Input values: [0.0, 0.0, 0.0]
Returns: 0.0

Example from Geometric mean: 1

[1, 2, 1]
[0.0, 0.0, 0.0]
0.0

Example from Handle missing values: Outputs the default score, if no input score is provided¤

  • Parameters
  • defaultValue: 1.0

  • Input values: [(none)]

  • Returns: 1.0

Outputs the default score, if no input score is provided

defaultValue
1.0
[(none)]
1.0

Example from Date: Returns 0 if both dates are equal¤

  • Input values:
  • Source: [2003-03-01]
  • Target: [2003-03-01]

  • Returns: → 0.0

Returns 0 if both dates are equal

Source
[2003-03-01]
Target
[2003-03-01]

0.0

Example from Camel Case: A sentence with several words is converted to a single word written in UpperCamelCase¤

  • Parameters
  • isDromedary: false

  • Input values: 1. [hello world]

  • Returns:

[HelloWorld]

Example from Coalesce: 5¤

  • Input values: 1. [] 2. [first A, first B] 3. [second]

  • Returns:

[first A, first B]

Example 5

1.
[]
2.
[first A, first B]
3.
[second]

[first A, first B]

Example of Concatenate: 4¤

  • Parameters
  • glue: -

  • Input values: 1. [First] 2. [Last]

  • Returns:

[First-Last]

Example of Concatenate multiple values: 6¤

  • Parameters
  • glue: \n\t\\

  • Input values: 1. [a \b, c]

  • Returns:

[a \b \c]

Example 5

glue
\n\t\\
1.
[a
\b, c]
[a
\b
\c]

Comments