is that Kotlin? 🤔
yes, because it's fun
hahaha , nice 😂
You already organized it that way. Didn't you? By the way, in more common case, such organization doesn't make any sense. You wouldn't want to bloat the jar that is supposed to be executed in prod with tests code, neither you would need to waste ram for loading it with tests. Technically, it's just dead code for prod
It's not production, I just wanted to solve Project Euler in Kotlin, and I wanted to have one file for each problem
That's exactly why I added that "in more common case" clause. For this particular task it makes a lot of sense to organize it as solution+tests in one file
Обсуждают сегодня