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.
I end up with 1 test failed, want you to review this.
results:
Actual: false
Expected: true
Number: 11247699674211
Completed in 0.6927ms
Log
num index = 8
expected digit = 6
sum of prev digits = 3
sum of digit squared = 9
Why it should be true?
Thanks, declared.
The tests use undeclared identifiers:
std::vector
,rand
, etc. Some of those have to be declared and can be defined by users.Practically the same as this kata.
Hey, thx for the comment.
How can i perform random tests? i send random strings,
then how can i compare it to the correct answer? can i call my own function?
Can i add my kata to his? (the duplicate) because mine is in
C++ and his is in JavaScript.
Thanks for the reply.
It was my first kata, i'll get better.
Have a nice one :)