Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
10
Task/Test-a-function/Euphoria/test-a-function.eu
Normal file
10
Task/Test-a-function/Euphoria/test-a-function.eu
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