New unit test custom challenge
JavaScript
JavaScript Mocha

Use the Mocha testing framework and create unit tests to grade solutions.

TypeScript
TypeScript Mocha

Use the Mocha testing framework and create unit tests to grade solutions.

Python
Python pytest

pytest is the most popular and fully-featured Python testing framework.

PHP
PHP PHPUnit

PHPUnit is a programmer-oriented testing framework for PHP.

Java
Java JUnit

JUnit is a popular unit-testing framework in the Java ecosystem.

Kotlin
Kotlin JUnit

JUnit is a popular unit-testing framework in the Kotlin ecosystem.

New unit test custom challenge
Edit Custom Challenge

Last modified by sontth1@fpt.com on Apr 01 2024


Write a program to count the number of elements as odd numbers in the array
Example: Array A= ( 12, 31, 25, 17, 40, 10, 29)
=> Number of elements as odd number in array A is : 4
Starter code will automatically be generated for all 18 coding languages.
Input type
Output type
Required test cases
ⓘ
→
→
→
→
→
→