Skip to content
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

[Collections\couple] add tests for inplace-equivalence after add this feature. #1859

Open
github-actions bot opened this issue Jan 13, 2025 · 0 comments
Labels
todo Automatically generated issues from TODOs in the code

Comments

@github-actions
Copy link

ref: #1786

; todo(Collections\couple): add tests for inplace-equivalence after add this feature.


import {unitt}!
import relative {../../commons/functions}!

test "returns tuples" [
    expected: [[a a] [b b] [c c]]
    actual: couple [a b c] [a b c]
    assert -> expected = actual
    assert -> every? actual 'el [2 = size el]
]

test "keeps the order" [
    expected: [["one" 1] ["two" 2] ["three" 3]]
    actual: couple ["one" "two" "three"] [1 2 3]

    assert -> expected = actual
]

; todo(Collections\couple): add tests for inplace-equivalence after add this feature.
;   ref: #1786

@github-actions github-actions bot added the todo Automatically generated issues from TODOs in the code label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Automatically generated issues from TODOs in the code
Projects
None yet
Development

No branches or pull requests

0 participants