Cody

Problem 45394. Count the number of folds needed to pack a large sheet

Solution 2914882

Submitted on 5 Sep 2020
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
assert(isequal(number_of_folds(3247,2132),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test1 (line 1) assert(isequal(number_of_folds(3247,2132),24))

2   Fail
assert(isequal(number_of_folds(1403,3757),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test2 (line 1) assert(isequal(number_of_folds(1403,3757),23))

3   Fail
assert(isequal(number_of_folds(3504,2201),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test3 (line 1) assert(isequal(number_of_folds(3504,2201),24))

4   Fail
assert(isequal(number_of_folds(2490,2349),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test4 (line 1) assert(isequal(number_of_folds(2490,2349),24))

5   Fail
assert(isequal(number_of_folds(831,1205),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test5 (line 1) assert(isequal(number_of_folds(831,1205),21))

6   Fail
assert(isequal(number_of_folds(1884,922),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test6 (line 1) assert(isequal(number_of_folds(1884,922),21))

7   Fail
assert(isequal(number_of_folds(2,4),5))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test7 (line 1) assert(isequal(number_of_folds(2,4),5))

8   Fail
assert(isequal(number_of_folds(3378,780),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test8 (line 1) assert(isequal(number_of_folds(3378,780),22))

9   Fail
assert(isequal(number_of_folds(904,683),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test9 (line 1) assert(isequal(number_of_folds(904,683),20))

10   Fail
assert(isequal(number_of_folds(911,1743),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test10 (line 1) assert(isequal(number_of_folds(911,1743),21))

11   Fail
assert(isequal(number_of_folds(1245,3694),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test11 (line 1) assert(isequal(number_of_folds(1245,3694),23))

12   Fail
assert(isequal(number_of_folds(1721,740),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test12 (line 1) assert(isequal(number_of_folds(1721,740),21))

13   Fail
assert(isequal(number_of_folds(3620,3919),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test13 (line 1) assert(isequal(number_of_folds(3620,3919),24))

14   Fail
assert(isequal(number_of_folds(1756,445),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test14 (line 1) assert(isequal(number_of_folds(1756,445),20))

15   Fail
assert(isequal(number_of_folds(1033,1635),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test15 (line 1) assert(isequal(number_of_folds(1033,1635),22))

16   Fail
assert(isequal(number_of_folds(2380,1049),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test16 (line 1) assert(isequal(number_of_folds(2380,1049),23))

17   Fail
assert(isequal(number_of_folds(2412,2845),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test17 (line 1) assert(isequal(number_of_folds(2412,2845),24))

18   Fail
assert(isequal(number_of_folds(887,470),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test18 (line 1) assert(isequal(number_of_folds(887,470),19))

19   Fail
assert(isequal(number_of_folds(1187,1276),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test19 (line 1) assert(isequal(number_of_folds(1187,1276),22))

20   Fail
assert(isequal(number_of_folds(1697,2032),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test20 (line 1) assert(isequal(number_of_folds(1697,2032),22))

21   Fail
assert(isequal(number_of_folds(343,1050),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test21 (line 1) assert(isequal(number_of_folds(343,1050),20))

22   Fail
assert(isequal(number_of_folds(3205,117),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test22 (line 1) assert(isequal(number_of_folds(3205,117),19))

23   Fail
assert(isequal(number_of_folds(3716,2922),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test23 (line 1) assert(isequal(number_of_folds(3716,2922),24))

24   Fail
assert(isequal(number_of_folds(1955,2315),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test24 (line 1) assert(isequal(number_of_folds(1955,2315),23))

25   Fail
assert(isequal(number_of_folds(950,1836),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test25 (line 1) assert(isequal(number_of_folds(950,1836),21))

26   Fail
assert(isequal(number_of_folds(3853,2188),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test26 (line 1) assert(isequal(number_of_folds(3853,2188),24))

27   Fail
assert(isequal(number_of_folds(2085,927),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test27 (line 1) assert(isequal(number_of_folds(2085,927),22))

28   Fail
assert(isequal(number_of_folds(1956,2497),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test28 (line 1) assert(isequal(number_of_folds(1956,2497),23))

29   Fail
assert(isequal(number_of_folds(2717,1583),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test29 (line 1) assert(isequal(number_of_folds(2717,1583),23))

30   Fail
assert(isequal(number_of_folds(1470,3952),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test30 (line 1) assert(isequal(number_of_folds(1470,3952),23))

31   Fail
assert(isequal(number_of_folds(151,3541),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test31 (line 1) assert(isequal(number_of_folds(151,3541),20))

32   Fail
assert(isequal(number_of_folds(3654,3185),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test32 (line 1) assert(isequal(number_of_folds(3654,3185),24))

33   Fail
assert(isequal(number_of_folds(395,1048),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test33 (line 1) assert(isequal(number_of_folds(395,1048),20))

34   Fail
assert(isequal(number_of_folds(1342,2719),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test34 (line 1) assert(isequal(number_of_folds(1342,2719),23))

35   Fail
assert(isequal(number_of_folds(547,2885),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test35 (line 1) assert(isequal(number_of_folds(547,2885),22))

36   Fail
assert(isequal(number_of_folds(428,2616),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test36 (line 1) assert(isequal(number_of_folds(428,2616),21))

37   Fail
assert(isequal(number_of_folds(1977,3117),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test37 (line 1) assert(isequal(number_of_folds(1977,3117),23))

38   Fail
assert(isequal(number_of_folds(2861,3615),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test38 (line 1) assert(isequal(number_of_folds(2861,3615),24))

39   Fail
assert(isequal(number_of_folds(3564,1337),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test39 (line 1) assert(isequal(number_of_folds(3564,1337),23))

40   Fail
assert(isequal(number_of_folds(1,4000),13))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test40 (line 1) assert(isequal(number_of_folds(1,4000),13))

41   Fail
assert(isequal(number_of_folds(2795,792),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test41 (line 1) assert(isequal(number_of_folds(2795,792),22))

42   Fail
assert(isequal(number_of_folds(123,2977),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test42 (line 1) assert(isequal(number_of_folds(123,2977),19))

43   Fail
assert(isequal(number_of_folds(2001,1920),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test43 (line 1) assert(isequal(number_of_folds(2001,1920),22))

44   Fail
assert(isequal(number_of_folds(3619,2440),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test44 (line 1) assert(isequal(number_of_folds(3619,2440),24))

45   Fail
assert(isequal(number_of_folds(2471,3438),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test45 (line 1) assert(isequal(number_of_folds(2471,3438),24))

46   Fail
assert(isequal(number_of_folds(3222,2307),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test46 (line 1) assert(isequal(number_of_folds(3222,2307),24))

47   Fail
assert(isequal(number_of_folds(732,960),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test47 (line 1) assert(isequal(number_of_folds(732,960),20))

48   Fail
assert(isequal(number_of_folds(3547,115),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test48 (line 1) assert(isequal(number_of_folds(3547,115),19))

49   Fail
assert(isequal(number_of_folds(1960,672),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test49 (line 1) assert(isequal(number_of_folds(1960,672),21))

50   Fail
assert(isequal(number_of_folds(3915,2851),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test50 (line 1) assert(isequal(number_of_folds(3915,2851),24))

51   Fail
assert(isequal(number_of_folds(2002,1885),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test51 (line 1) assert(isequal(number_of_folds(2002,1885),22))

52   Fail
assert(isequal(number_of_folds(239,2728),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test52 (line 1) assert(isequal(number_of_folds(239,2728),20))

53   Fail
assert(isequal(number_of_folds(170,286),17))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test53 (line 1) assert(isequal(number_of_folds(170,286),17))

54   Fail
assert(isequal(number_of_folds(2087,387),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test54 (line 1) assert(isequal(number_of_folds(2087,387),21))

55   Fail
assert(isequal(number_of_folds(3273,3271),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test55 (line 1) assert(isequal(number_of_folds(3273,3271),24))

56   Fail
assert(isequal(number_of_folds(2890,600),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test56 (line 1) assert(isequal(number_of_folds(2890,600),22))

57   Fail
assert(isequal(number_of_folds(2639,2075),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test57 (line 1) assert(isequal(number_of_folds(2639,2075),24))

58   Fail
assert(isequal(number_of_folds(3892,2596),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test58 (line 1) assert(isequal(number_of_folds(3892,2596),24))

59   Fail
assert(isequal(number_of_folds(3202,1816),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test59 (line 1) assert(isequal(number_of_folds(3202,1816),23))

60   Fail
assert(isequal(number_of_folds(1730,3302),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test60 (line 1) assert(isequal(number_of_folds(1730,3302),23))

61   Fail
assert(isequal(number_of_folds(334,533),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test61 (line 1) assert(isequal(number_of_folds(334,533),19))

62   Fail
assert(isequal(number_of_folds(694,1564),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test62 (line 1) assert(isequal(number_of_folds(694,1564),21))

63   Fail
assert(isequal(number_of_folds(3326,3214),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test63 (line 1) assert(isequal(number_of_folds(3326,3214),24))

64   Fail
assert(isequal(number_of_folds(242,1598),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test64 (line 1) assert(isequal(number_of_folds(242,1598),19))

65   Fail
assert(isequal(number_of_folds(2108,1668),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test65 (line 1) assert(isequal(number_of_folds(2108,1668),23))

66   Fail
assert(isequal(number_of_folds(2628,2512),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test66 (line 1) assert(isequal(number_of_folds(2628,2512),24))

67   Fail
assert(isequal(number_of_folds(1168,1727),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test67 (line 1) assert(isequal(number_of_folds(1168,1727),22))

68   Fail
assert(isequal(number_of_folds(62,3937),18))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test68 (line 1) assert(isequal(number_of_folds(62,3937),18))

69   Fail
assert(isequal(number_of_folds(669,425),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test69 (line 1) assert(isequal(number_of_folds(669,425),19))

70   Fail
assert(isequal(number_of_folds(1490,793),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test70 (line 1) assert(isequal(number_of_folds(1490,793),21))

71   Fail
assert(isequal(number_of_folds(1959,1358),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test71 (line 1) assert(isequal(number_of_folds(1959,1358),22))

72   Fail
assert(isequal(number_of_folds(3807,3682),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test72 (line 1) assert(isequal(number_of_folds(3807,3682),24))

73   Fail
assert(isequal(number_of_folds(211,2952),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test73 (line 1) assert(isequal(number_of_folds(211,2952),20))

74   Fail
assert(isequal(number_of_folds(1077,1692),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test74 (line 1) assert(isequal(number_of_folds(1077,1692),22))

75   Fail
assert(isequal(number_of_folds(2192,3771),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test75 (line 1) assert(isequal(number_of_folds(2192,3771),24))

76   Fail
assert(isequal(number_of_folds(1,1),2))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test76 (line 1) assert(isequal(number_of_folds(1,1),2))

77   Fail
assert(isequal(number_of_folds(1671,3933),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test77 (line 1) assert(isequal(number_of_folds(1671,3933),23))

78   Fail
assert(isequal(number_of_folds(1206,2805),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test78 (line 1) assert(isequal(number_of_folds(1206,2805),23))

79   Fail
assert(isequal(number_of_folds(2666,2157),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test79 (line 1) assert(isequal(number_of_folds(2666,2157),24))

80   Fail
assert(isequal(number_of_folds(2793,2667),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test80 (line 1) assert(isequal(number_of_folds(2793,2667),24))

81   Fail
assert(isequal(number_of_folds(713,513),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test81 (line 1) assert(isequal(number_of_folds(713,513),20))

82   Fail
assert(isequal(number_of_folds(3997,685),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test82 (line 1) assert(isequal(number_of_folds(3997,685),22))

83   Fail
assert(isequal(number_of_folds(131,2245),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test83 (line 1) assert(isequal(number_of_folds(131,2245),20))

84   Fail
assert(isequal(number_of_folds(3528,2677),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test84 (line 1) assert(isequal(number_of_folds(3528,2677),24))

85   Fail
assert(isequal(number_of_folds(762,1476),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test85 (line 1) assert(isequal(number_of_folds(762,1476),21))

86   Fail
assert(isequal(number_of_folds(1843,3927),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test86 (line 1) assert(isequal(number_of_folds(1843,3927),23))

87   Fail
assert(isequal(number_of_folds(626,3423),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test87 (line 1) assert(isequal(number_of_folds(626,3423),22))

88   Fail
assert(isequal(number_of_folds(2580,1506),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test88 (line 1) assert(isequal(number_of_folds(2580,1506),23))

89   Fail
assert(isequal(number_of_folds(764,1714),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test89 (line 1) assert(isequal(number_of_folds(764,1714),21))

90   Fail
assert(isequal(number_of_folds(1929,483),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test90 (line 1) assert(isequal(number_of_folds(1929,483),20))

91   Fail
assert(isequal(number_of_folds(2359,905),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test91 (line 1) assert(isequal(number_of_folds(2359,905),22))

92   Fail
assert(isequal(number_of_folds(1539,2332),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test92 (line 1) assert(isequal(number_of_folds(1539,2332),23))

93   Fail
assert(isequal(number_of_folds(1008,1162),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test93 (line 1) assert(isequal(number_of_folds(1008,1162),21))

94   Fail
assert(isequal(number_of_folds(2469,1062),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test94 (line 1) assert(isequal(number_of_folds(2469,1062),23))

95   Fail
assert(isequal(number_of_folds(15,15),8))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test95 (line 1) assert(isequal(number_of_folds(15,15),8))

96   Fail
assert(isequal(number_of_folds(3298,3931),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test96 (line 1) assert(isequal(number_of_folds(3298,3931),24))

97   Fail
assert(isequal(number_of_folds(2921,1376),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test97 (line 1) assert(isequal(number_of_folds(2921,1376),23))

98   Fail
assert(isequal(number_of_folds(2337,432),21))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test98 (line 1) assert(isequal(number_of_folds(2337,432),21))

99   Fail
assert(isequal(number_of_folds(3626,3519),24))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test99 (line 1) assert(isequal(number_of_folds(3626,3519),24))

100   Fail
assert(isequal(number_of_folds(3272,1043),23))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test100 (line 1) assert(isequal(number_of_folds(3272,1043),23))

101   Fail
assert(isequal(number_of_folds(3,2),4))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test101 (line 1) assert(isequal(number_of_folds(3,2),4))

102   Fail
assert(isequal(number_of_folds(2378,91),19))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test102 (line 1) assert(isequal(number_of_folds(2378,91),19))

103   Fail
assert(isequal(number_of_folds(1702,1251),22))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test103 (line 1) assert(isequal(number_of_folds(1702,1251),22))

104   Fail
assert(isequal(number_of_folds(646,716),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test104 (line 1) assert(isequal(number_of_folds(646,716),20))

105   Fail
assert(isequal(number_of_folds(1692,377),20))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test105 (line 1) assert(isequal(number_of_folds(1692,377),20))

106   Fail
assert(isequal(number_of_folds(16,15),9))

Undefined function 'cody45394' for input arguments of type 'double'. Error in number_of_folds (line 16) outVal=1+cody45394(x/2,y); %recursive call Error in Test106 (line 1) assert(isequal(number_of_folds(16,15),9))