diff --git a/src/Problem Solving/Algorithms/Implementation/Modified Kaprekar Numbers/index.test.ts b/src/Problem Solving/Algorithms/Implementation/Modified Kaprekar Numbers/index.test.ts new file mode 100644 index 0000000..c0ac3b8 --- /dev/null +++ b/src/Problem Solving/Algorithms/Implementation/Modified Kaprekar Numbers/index.test.ts @@ -0,0 +1,7 @@ +import { kaprekarNumbers } from '@ProblemSolving/Algorithms/Implementation'; + +describe('Problem Solving » Algorithms » Implementation » Modified Kaprekar Numbers', () => { + it('should return the modified Kaprekar numbers', () => { + expect(kaprekarNumbers(1, 100)).toBe('1 9 45 55 99'); + }); +});