This comment is hidden because it contains spoiler information about the solution
Rust: The error message for the test_large test case isn't helpful as it doesn't give any indication as to what's being tested or what failed to pass: "assertion failed: result == expected1 || result == expected2".
assertion failed: result == expected1 || result == expected2
Could this message be made clearer/the test input be posted in the comments?
It is. Thank you!
Sorry for that. Should be corrected now.
@nomennescio: see issue above, please.
C: Tests don't run.
How to reproduce: Just reset the solution and click on "Attempt".
/tmp/fixture-d19c8e.o: In function `test_cases_random_tests_impl':
fixture.c:(.text+0xd4f): undefined reference to `format'
fixture.c:(.text+0xd75): undefined reference to `format'
fixture.c:(.text+0xd93): undefined reference to `format'
fixture.c:(.text+0xdb6): undefined reference to `format'
fixture.c:(.text+0xdd7): undefined reference to `format'
/tmp/fixture-d19c8e.o:fixture.c:(.text+0xdfa): more undefined references to `format' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please review and approve C translation (https://www.codewars.com/kumite/5d0b9c0b4c60c3000cf2294a?sel=5d0b9c0b4c60c3000cf2294a)
That is strange. I just tried it again and both sample tests and the full tests work for me.
Could you try in a different browser that is not logged in?
Yeah I'm still getting it. The sample tests pass but then when I click run it just gives me that error, it's as if it's missing a using statement or something?
Tests running fine for me. Are you still getting this error ? May have been something temporarily.
rust translation, please review and approve.
I'm getting this error when running the tests, is this a bug?
The type or namespace name `OneTimeSetUp' could not be found. Are you missing an assembly reference?
Yeah, I'm just a bit lazzy on rewriting my old solver :|
Thank you for the suggestion. As previously said ideally it should test for every possible order but that would make for complicated tests.
The assignment is what it is, if instructions are followed and the derivation rules are followed in the way they are described then you will end up with a solution that passes the tests.
Btw, I have a code for parsing & simplifying things (brings everything to the standard version)
The checking might be easier with that being done.