Remove isArmstrongNumber

This commit is contained in:
Angelos Chalaris
2020-04-16 11:07:55 +03:00
parent d96e0f0241
commit 90a71bf9d7
2 changed files with 0 additions and 31 deletions

View File

@ -1,11 +0,0 @@
const {isArmstrongNumber} = require('./_30s.js');
test('isArmstrongNumber is a Function', () => {
expect(isArmstrongNumber).toBeInstanceOf(Function);
});
test('isArmstrongNumber returns true', () => {
expect(isArmstrongNumber(1634)).toBeTruthy();
});
test('isArmstrongNumber returns false', () => {
expect(isArmstrongNumber(56)).toBeFalsy();
});