Remove isArmstrongNumber
This commit is contained in:
@ -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();
|
||||
});
|
||||
Reference in New Issue
Block a user