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

Fix nested equality tests and then make them mandatory #123

Closed
11 tasks done
kanaka opened this issue Nov 30, 2015 · 16 comments
Closed
11 tasks done

Fix nested equality tests and then make them mandatory #123

kanaka opened this issue Nov 30, 2015 · 16 comments

Comments

@kanaka
Copy link
Owner

kanaka commented Nov 30, 2015

The following implementations fail the soft tests for nested equality. Sequence nested tests in step4 and hash-map nested steps in step9:

Once those are all fixed we should make those tests mandatory.

@dubek
Copy link
Collaborator

dubek commented Nov 30, 2015

Guile fix in #124.

dubek added a commit to dubek/mal that referenced this issue Nov 30, 2015
@kanaka
Copy link
Owner Author

kanaka commented Dec 2, 2015

I'll work on julia

@kanaka
Copy link
Owner Author

kanaka commented Dec 2, 2015

I'll take scala too.

@kanaka kanaka changed the title Fix embedded sequence equality tests and then make them mandatory Fix nested sequence equality tests and then make them mandatory Dec 2, 2015
kanaka added a commit that referenced this issue Dec 2, 2015
@kanaka
Copy link
Owner Author

kanaka commented Dec 2, 2015

Okay, julia and scala fixes pushed. Also, I added some nested hash-map tests in addition to the nested sequences tests.

@kanaka
Copy link
Owner Author

kanaka commented Dec 2, 2015

I updated the list with all the implementation that fail the new nested equality tests (including forth and kotlin which are missing hash-map equality entirely).

@kanaka kanaka changed the title Fix nested sequence equality tests and then make them mandatory Fix nested equality tests and then make them mandatory Dec 2, 2015
@kanaka
Copy link
Owner Author

kanaka commented Dec 3, 2015

Fix bash and PHP in: 33d33bb (silly bugs really)

kanaka added a commit that referenced this issue Dec 3, 2015
- Was missing vector to vector equality but never noticed because test
  was missing.
- Related to #123
@kanaka
Copy link
Owner Author

kanaka commented Dec 3, 2015

Haskell was an easy fix too.

ivern added a commit to ivern/mal that referenced this issue Jan 22, 2016
ivern added a commit to ivern/mal that referenced this issue Jan 22, 2016
kanaka added a commit that referenced this issue Jan 22, 2016
Implemented hashmap equality (addresses #116, #123)
@ivern
Copy link
Contributor

ivern commented Jan 23, 2016

Kotlin should be updated to fixed now that it's merged.

@kanaka
Copy link
Owner Author

kanaka commented Jan 27, 2016

@jordanlewis @nlfiedler @ekmartin factor, erlang, and elixir are the remaining languages that still need this fix. Could you look at your respective implementation and fix the equality test when a sequence is embedded in another sequence? In other words, make these forms return true?

(= [(list)] (list []))
(= [1 2 (list 3 4 [5 6])] (list 1 2 [3 4 (list 5 6)]))

Thanks!

@jordanlewis
Copy link
Contributor

Sure I will take a look at this.

@ekmartin
Copy link
Contributor

Sure, I'll take a look.

dubek added a commit to dubek/mal that referenced this issue Feb 1, 2016
This is still in the soft-tests section of tests/step9_try.mal.

Issues: kanaka#116, kanaka#123
dubek added a commit to dubek/mal that referenced this issue Feb 1, 2016
@kanaka
Copy link
Owner Author

kanaka commented Feb 1, 2016

Just factor left now.

@kanaka
Copy link
Owner Author

kanaka commented Feb 1, 2016

@jordanlewis don't worry about factor since @dubek just fixed it.

kanaka added a commit that referenced this issue Feb 1, 2016
@kanaka
Copy link
Owner Author

kanaka commented Feb 1, 2016

Final thing is making the tests not soft tests. I just pushed that and will close this once travis gives the green light: https://travis-ci.org/kanaka/mal/builds/106320895

@jordanlewis
Copy link
Contributor

Thanks @dubek!

@kanaka
Copy link
Owner Author

kanaka commented Feb 1, 2016

All green. Closing.

@kanaka kanaka closed this as completed Feb 1, 2016
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
- Was missing vector to vector equality but never noticed because test
  was missing.
- Related to kanaka#123
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
Implemented hashmap equality (addresses kanaka#116, kanaka#123)
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
This is still in the soft-tests section of tests/step9_try.mal.

Issues: kanaka#116, kanaka#123
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
micfan pushed a commit to micfan/make-a-lisp that referenced this issue Nov 8, 2018
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
- Was missing vector to vector equality but never noticed because test
  was missing.
- Related to kanaka#123
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
Implemented hashmap equality (addresses kanaka#116, kanaka#123)
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
This is still in the soft-tests section of tests/step9_try.mal.

Issues: kanaka#116, kanaka#123
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
luelista pushed a commit to luelista/mal that referenced this issue Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants