Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
1.2KB

  1. CDL appends
  2. a b c
  3. count = 3
  4. Test CDL_PREPEND_ELEM d with elt NULL
  5. a b c d
  6. Test CDL_PREPEND_ELEM e before item b
  7. a e b c d
  8. Test CDL_APPEND_ELEM f with elt NULL
  9. f a e b c d
  10. Test CDL_APPEND_ELEM g after item b
  11. f a e b g c d
  12. count = 7
  13. advancing head pointer
  14. a e b g c d f
  15. a e b g c d f a e b g c d f a e b g c d
  16. a f d c g b e a f d
  17. deleting (b)
  18. a e g c d f
  19. deleting (a)
  20. e g c d f
  21. deleting (c)
  22. e g d f
  23. deleting (g)
  24. e d f
  25. deleting (e)
  26. d f
  27. deleting (d)
  28. f deleting (f)
  29. DL appends
  30. a b c
  31. count = 3
  32. Test DL_PREPEND_ELEM d with elt NULL
  33. a b c d
  34. Test DL_PREPEND_ELEM e before item b
  35. a e b c d
  36. Test DL_APPEND_ELEM f with elt NULL
  37. f a e b c d
  38. Test DL_APPEND_ELEM g after item b
  39. f a e b g c d
  40. count = 7
  41. deleting (b)
  42. f a e g c d
  43. deleting (a)
  44. f e g c d
  45. deleting (c)
  46. f e g d
  47. deleting (g)
  48. f e d
  49. deleting (e)
  50. f d
  51. deleting (d)
  52. f deleting (f)
  53. LL appends
  54. a b c
  55. count = 3
  56. Test LL_PREPEND_ELEM d with elt NULL
  57. a b c d
  58. Test LL_PREPEND_ELEM e before item b
  59. a e b c d
  60. Test LL_APPEND_ELEM f with elt NULL
  61. f a e b c d
  62. Test LL_APPEND_ELEM g after item b
  63. f a e b g c d
  64. count = 7
  65. deleting (b)
  66. f a e g c d
  67. deleting (a)
  68. f e g c d
  69. deleting (c)
  70. f e g d
  71. deleting (g)
  72. f e d
  73. deleting (e)
  74. f d
  75. deleting (d)
  76. f deleting (f)