all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
10
Task/Test-a-function/Euphoria/test-a-function.euphoria
Normal file
10
Task/Test-a-function/Euphoria/test-a-function.euphoria
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--unittest in standard library 4.0+
|
||||
include std/unittest.e
|
||||
include palendrome.e --routines to be tested
|
||||
|
||||
object p = "12321"
|
||||
|
||||
test_equal("12321", 1, isPalindrome(p))
|
||||
test_equal("r12321", 1, isPalindrome(reverse(p)))
|
||||
|
||||
test_report()
|
||||
Loading…
Add table
Add a link
Reference in a new issue