Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codility. How to run own test cases?

I know this is a silly question but I would like to know how to execute own test cases in a Codility test. I can add several test inputs to my function but I don't know how execute it using these values.

I appreciate any input.

like image 863
ctowers Avatar asked Apr 04 '14 19:04

ctowers


1 Answers

After adding test cases you can simply click "run" - it will run your function on default tests and your tests too. Return value of your function will be visible in console under the run button.

(Remember that Codility doesn't check your answers on your own tests!)

like image 159
Jaszczur Avatar answered Oct 06 '22 08:10

Jaszczur