-
Notifications
You must be signed in to change notification settings - Fork 56
add test code for remove/delete/substitute sequence #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed as expected: TEST-NAME: delete-sequence
now testing...
�[32mstart testing [delete-sequence]
�[0m�[31m[ERROR] test (equal (vector 1 3 2 1) (delete 2 (vector 1 2 3 2 1) :end 2)) failed ... ( ^[0mmstart testing [delete-sequence]
).�[0m
�[31m[ERROR] test (equal (vector 2 3 2 1) (delete 1 (vector 1 2 3 2 1) :count 1)) failed ... ( ]
).^[0m
OR] test (equal (vector 1 3 2 1) (delete 2 (vector 1 2 3 2 1) :end 2)) failed ... ( ^[0mmstart testing [delete-sequence).�[0m
�[31m[ERROR] test (equal (vector 1 3 2 1) (delete-if #'evenp (vector 1 2 3 2 1) :end 2)) failed ... ( 1 3 2 1) (delete 2 (vector 1 2 3 2 1) :end 2)) failed ... ( ^[0mmstart testing [delete-sequence).^[0m
m
OR] test (equal (vector ).�[0m
�[31m[ERROR] test (equal (vector 1 3 2 1) (delete-if #'evenp (vector 1 2 3 2 1) :count 1)) failed ... ( 1 2 3 2 1) :end 2)) failed ... ( ^[0mmstart testing [delete-sequence).^[0m
m
OR] test (equal (vector ).^[0m
) (delete 2 (vector).�[0m
�[31m[ERROR] test (equal (vector 2 3 2 1) (delete-if-not #'evenp (vector 1 2 3 2 1) :end 2)) failed ... ( led ... ( ^[0mmstart testing [delete-sequence).^[0m
m
OR] test (equal (vector ).^[0m
) (delete 2 (vector).^[0m
2 1) :end 2)) fai).�[0m
�[31m[ERROR] test (equal (vector 2 3 2 1) (delete-if-not #'evenp (vector 1 2 3 2 1) :count 1)) failed ... ( esting [delete-sequence).^[0m
m
OR] test (equal (vector ).^[0m
) (delete 2 (vector).^[0m
2 1) :end 2)) fai).^[0m
( ^[0mmstart t).�[0m
TEST-NAME: remove-sequence
now testing...
�[32mstart testing [remove-sequence]
�[0m�[31m[ERROR] test (equal (vector 2 3 2 1) (remove 1 (vector 1 2 3 2 1) :count 1)) failed ... ( ^[0mmstart testing [remove-sequence]
.^[0m
) (delete 2 (vector).^[0m
2 1) :end 2)) fai).^[0m
( ^[0mmstart t).^[0m
[delete-seque).�[0m
�[31m[ERROR] test (equal (vector 1 3 2 1) (remove-if #'evenp (vector 1 2 3 2 1) :count 1)) failed ... ( ce]
.^[0m
) (delete 2 (vector).^[0m
2 1) :end 2)) fai).^[0m
( ^[0mmstart t).^[0m
[delete-seque).^[0m
art testing [remove-sequen).�[0m
�[31m[ERROR] test (equal (vector 2 3 2 1) (remove-if-not #'evenp (vector 1 2 3 2 1) :count 1)) failed ... ( ector).^[0m
2 1) :end 2)) fai).^[0m
( ^[0mmstart t).^[0m
[delete-seque).^[0m
art testing [remove-sequen).^[0m
0m
) (delete 2 (v).�[0m
ALL RESULTS:
TEST-NUM: 7
PASSED: 5
�[31m FAILURE: 2
�[0mRESULT: all-test
TEST-NUM: 0
PASSED: 0
FAILURE: 0
RESULT: coerse
TEST-NUM: 1
PASSED: 1
FAILURE: 0
RESULT: operator
TEST-NUM: 1
PASSED: 1
FAILURE: 0
RESULT: func
TEST-NUM: 1
PASSED: 1
FAILURE: 0
RESULT: reader
TEST-NUM: 1
PASSED: 1
FAILURE: 0
RESULT: nan-inf-read
TEST-NUM: 1
PASSED: 1
FAILURE: 0
RESULT: delete-sequence
TEST-NUM: 1
PASSED: 0
�[31m FAILURE: 1�[0m
RESULT: remove-sequence
TEST-NUM: 1
PASSED: 0
�[31m FAILURE: 1�[0m |
Add substitute vector test code
Merged test code for furushchev/EusLisp#1 |
I have moved test code to EusLisp directory, so if you're still interested in this PR, please move the test code to EusLisp package euslisp/EusLisp#316 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add test cases for euslisp/EusLisp#295