Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
trunk
/
Examples
/
test-suite
/
r
/
unittest.R
blob: 81c590a3f40b24e7bef23c954418997dec251273 [
file
] [
log
] [
blame
]
unittest
<-
function
(
x
,
y
)
{
if
(
x
==
y
)
print
(
"PASS"
)
else
print
(
"FAIL"
)
}
unittesttol
<-
function
(
x
,
y
,
z
)
{
if
(
abs
(
x
-
y
)
<
z
)
print
(
"PASS"
)
else
print
(
"FAIL"
)
}