Made eq and equal vararg functions, and appended ? to their names as predicates.
This commit is contained in:
parent
8c63272214
commit
3665326c55
7 changed files with 94 additions and 66 deletions
|
|
@ -77,7 +77,7 @@ expected='6.25'
|
|||
actual=`echo "(+ 6.000000001 1/4)" |\
|
||||
target/psse 2> /dev/null |\
|
||||
sed -r '/^\s*$/d' |\
|
||||
sed 's/0*$//'
|
||||
sed 's/0*$//'`
|
||||
|
||||
outcome=`echo "sqrt((${expected} - ${actual})^2) < 0.0000001" | bc`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue