May be someone can advice with #4?
all my tests pass perfectly. still 0/133.
abcd, shift 1 encodes to bcde. abcd, shift 2 decodes to yzab.
encode(abcd, 1) -> bcde
00000000 00000000 00000000 00000000 01100001 01100010 01100011 01100100
00000000 00000000 00000000 00000000 01100010 01100011 01100100 01100101
decode(abcd, 2) -> yzab
00000000 00000000 00000000 00000000 01100001 01100010 01100011 01100100
00000000 00000000 00000000 00000000 01111001 01111010 01100001 01100010
What am I doing wrong?(
Aug 13, 2023, 2:57 PM
encode(1, abcd)? Does it handle multi-cell strings?
Aug 13, 2023, 2:58 PM
it did in previous versions, but then I found out they are not in test case... Not a problem to return them back, I just began cutting off everything that could cause problems
Aug 13, 2023, 2:59 PM
It seems like testing stops at the first failed test, so you are failing test 1.
To my knowledge, it is multi-cell.
To my knowledge, it is multi-cell.
Aug 13, 2023, 3:00 PM
No, tests doesn't stop at the first failed test
Aug 13, 2023, 3:06 PM
It... wasn't obvious...
Thank you.
BTW it would be great to include at least 1 test case in future contests. It worth nothing, having all the Blueprint infrastructure in repo...
Thank you.
BTW it would be great to include at least 1 test case in future contests. It worth nothing, having all the Blueprint infrastructure in repo...
Aug 13, 2023, 3:06 PM
Then the system does not report true number of passed tests, as discussed in FUNC GANG.
Aug 13, 2023, 3:07 PM