Cody

Solution 1936090

Submitted on 14 Sep 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 1; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '1' b = 1 tf = logical 1

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test1 (line 3) assert(isequal(isnarcissistic(x),y_correct))

2   Fail
x = 9; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '9' b = 387420489 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test2 (line 3) assert(isequal(isnarcissistic(x),y_correct))

3   Fail
x = 10; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '10' b = 1 b = 2 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test3 (line 3) assert(isequal(isnarcissistic(x),y_correct))

4   Fail
x = 99; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '99' b = 387420489 b = 774840978 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test4 (line 3) assert(isequal(isnarcissistic(x),y_correct))

5   Fail
x = 152; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '152' b = 1 b = 3126 b = 3130 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test5 (line 3) assert(isequal(isnarcissistic(x),y_correct))

6   Fail
x = 153; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '153' b = 1 b = 3126 b = 3153 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test6 (line 3) assert(isequal(isnarcissistic(x),y_correct))

7   Fail
x = 154; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '154' b = 1 b = 3126 b = 3382 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test7 (line 3) assert(isequal(isnarcissistic(x),y_correct))

8   Fail
x = 371; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '371' b = 27 b = 823570 b = 823571 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test8 (line 3) assert(isequal(isnarcissistic(x),y_correct))

9   Fail
x = 370; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '370' b = 27 b = 823570 b = 823571 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test9 (line 3) assert(isequal(isnarcissistic(x),y_correct))

10   Fail
x = 1634; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '1634' b = 1 b = 46657 b = 46684 b = 46940 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test10 (line 3) assert(isequal(isnarcissistic(x),y_correct))

11   Fail
x = 8207; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '8207' b = 16777216 b = 16777220 b = 16777221 b = 17600764 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test11 (line 3) assert(isequal(isnarcissistic(x),y_correct))

12   Fail
x = 9474; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '9474' b = 387420489 b = 387420745 b = 388244288 b = 388244544 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test12 (line 3) assert(isequal(isnarcissistic(x),y_correct))

13   Fail
x = 9926315; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '9926315' b = 387420489 b = 774840978 b = 774840982 b = 774887638 b = 774887665 b = 774887666 b = 774890791 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test13 (line 3) assert(isequal(isnarcissistic(x),y_correct))

14   Fail
x = 88593477; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '88593477' b = 16777216 b = 33554432 b = 33557557 b = 420978046 b = 420978073 b = 420978329 b = 421801872 b = 422625415 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test14 (line 3) assert(isequal(isnarcissistic(x),y_correct))

15   Fail
x = 9800817; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '9800817' b = 387420489 b = 404197705 b = 404197706 b = 404197707 b = 420974923 b = 420974924 b = 421798467 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test15 (line 3) assert(isequal(isnarcissistic(x),y_correct))

16   Fail
x = 54748; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '54748' b = 3125 b = 3381 b = 826924 b = 827180 b = 17604396 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test16 (line 3) assert(isequal(isnarcissistic(x),y_correct))

17   Fail
x = 4679307774; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '4679307774' b = 256 b = 46912 b = 870455 b = 388290944 b = 388290971 b = 388290972 b = 389114515 b = 389938058 b = 390761601 b = 390761857 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test17 (line 3) assert(isequal(isnarcissistic(x),y_correct))

18   Fail
x = 472335975; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '472335975' b = 256 b = 823799 b = 823803 b = 823830 b = 823857 b = 826982 b = 388247471 b = 389071014 b = 389074139 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test18 (line 3) assert(isequal(isnarcissistic(x),y_correct))

19   Fail
x = 32164049650; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '32164049650' b = 27 b = 31 b = 32 b = 46688 b = 46944 b = 46945 b = 47201 b = 387467690 b = 387514346 b = 387517471 b = 387517472 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test19 (line 3) assert(isequal(isnarcissistic(x),y_correct))

20   Fail
x = 32164049651; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

a = '32164049651' b = 27 b = 31 b = 32 b = 46688 b = 46944 b = 46945 b = 47201 b = 387467690 b = 387514346 b = 387517471 b = 387517472 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test20 (line 3) assert(isequal(isnarcissistic(x),y_correct))

21   Fail
x = 32164049652; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

a = '32164049652' b = 27 b = 31 b = 32 b = 46688 b = 46944 b = 46945 b = 47201 b = 387467690 b = 387514346 b = 387517471 b = 387517475 tf = logical 0

Output argument "y" (and maybe others) not assigned during call to "isnarcissistic". Error in Test21 (line 3) assert(isequal(isnarcissistic(x),y_correct))