Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Golang.
Tests and basic cases pass, yet in random cases some characters are represneted in the form of \xNN while Golang converts such characters to strings as \uNNNN or outputs them as they are.
Examples:
Expected
"\x14\x17!"&-[[n\u0082ª³ÛÝáì\r\x13\x13\x1d\x1en\u008b\u008e\u008f\u0095\u0096\u009c\u009c£¾ÁÈ\x11;G_a\u0092£ãò\x0e55QQYu\u007f\u0087\u0088\u0089\u0098ÍØê\x03;PPmmz²¼ÆÉÖåéö\x15$:cgx\u007f\u0081\u0087\u0097\u009d\u00a0"
to equal
"\x14\x17!"&-[[n\x82\xaa\xb3\xdb\xdd\xe1\xec\r\x13\x13\x1d\x1en\x8b\x8e\x8f\x95\x96\x9c\x9c\xa3\xbe\xc1\xc8\x11;G_a\x92\xa3\xe3\xf2\x0e55QQYu\u007f\x87\x88\x89\x98\xcd\xd8\xea\x03;PPmmz\xb2\xbc\xc6\xc9\xd6\xe5\xe9\xf6\x15$:cgx\u007f\x81\x87\x97\x9d\xa0"
Expected
"\x1cK\bbhn¿\x05\x12K\e\u0081¶¶×õ\x04\b\x14\x14\x1a <D\c|\u0088\u009b¯²ÆÏàççÿ\x05\x06\x13\x14\x16#8b\u0082\u0087\u0090\u00a0±ÀÊÐäþ\x0f\x19"%==z¥©¾ÃÑâäçõ÷øù\x01\x11),9Nnou|\u0084°Àú\x04\x04\x06\x10**-Hi\u007f\u0084¥©«ÈÞì"
to equal
"\x1cK\bbhn\xbf\x05\x12K\e\x81\xb6\xb6\xd7\xf5\x04\b\x14\x14\x1a <D\c|\x88\x9b\xaf\xb2\xc6\xcf\xe0\xe7\xe7\xff\x05\x06\x13\x14\x16#8b\x82\x87\x90\xa0\xb1\xc0\xca\xd0\xe4\xfe\x0f\x19"%==z\xa5\xa9\xbe\xc3\xd1\xe2\xe4\xe7\xf5\xf7\xf8\xf9\x01\x11),9Nnou|\x84\xb0\xc0\xfa\x04\x04\x06\x10**-Hi\u007f\x84\xa5\xa9\xab\xc8\xde\xec"
Thank you! It works. An enjoyable kata, as your other math-related.
It passes tests, yet when I submit it as a solution I get the error
This comment is hidden because it contains spoiler information about the solution
I did
Golang seems to be broken. Yet the tests pass
codewarrior/kata_test
./kata_test.go:62: undefined: Mul
Yep, I got everything correct except sorting. It is not clear from the description how to do the sorting exactly
Nice kata! Yet, I had to guess how to sort the columns by date. If it could be made more clear on how to correctly sort the columns this kata would deffinately benefit.