Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. Start part 1 test for inputs s: abdcbaccc9cdbddaddbcdbdcc9aaabaa9dccaa9dbdbdaddbdd and cs: [cfdccf]
  2. Part 1 analyzeChar method test passed...
  3. Part 1 getFrequencyOfChar method test passed...
  4. Part 1 resetStatistic method test passed...
  5. Char frequencies
  6. c: 10
  7. f: 0
  8. d: 16
  9. c: 10
  10. c: 10
  11. f: 0
  12. Part 1 printStatisticChar method test passed...
  13.  
  14.  
  15. Start part 1 test for inputs s: uK823FeaHXZJ2A9nEu5GZkwZ5ojCwppSnvJuW0PDGfmbqfHNom and cs: [jljrnzndqmy]
  16. Part 1 analyzeChar method test passed...
  17. Part 1 getFrequencyOfChar method test passed...
  18. Part 1 resetStatistic method test passed...
  19. Char frequencies
  20. j: 3
  21. l: 0
  22. j: 3
  23. r: 0
  24. n: 3
  25. z: 3
  26. n: 3
  27. d: 1
  28. q: 1
  29. m: 2
  30. y: 0
  31. Part 1 printStatisticChar method test passed...
  32. Tests for part 1 passed...
  33.  
  34.  
  35. Start part 2 test for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
  36. Part 2 analyzeChar method test passed...
  37. Part 2 getFrequencyOfChar method test passed...
  38. Part 2 resetStatistic method test passed...
  39. Char double frequencies
  40. 204: 0
  41. 194: 0
  42. 204: 0
  43. 198: 3
  44. 200: 1
  45. 198: 3
  46. 200: 1
  47. 204: 0
  48. 194: 0
  49. 194: 0
  50. 198: 3
  51.  
  52. Exception in thread "test" java.lang.Exception:
  53. Error in part 2:
  54. Error found in your printStatisticCharDoubles method.
  55. Wrong results detected for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
  56. Expected output:
  57. ff: 0
  58. aa: 0
  59. ff: 0
  60. cc: 3
  61. dd: 1
  62. cc: 3
  63. dd: 1
  64. ff: 0
  65. aa: 0
  66. aa: 0
  67. cc: 3
  68. Your output:
  69. Part 1 printStatisticChar method test passed...
  70. Tests for part 1 passed...
  71.  
  72.  
  73. Start part 2 test for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
  74. Part 2 analyzeChar method test passed...
  75. Part 2 getFrequencyOfChar method test passed...
  76. Part 2 resetStatistic method test passed...
  77. Char double frequencies
  78. 204: 0
  79. 194: 0
  80. 204: 0
  81. 198: 3
  82. 200: 1
  83. 198: 3
  84. 200: 1
  85. 204: 0
  86. 194: 0
  87. 194: 0
  88. 198: 3
  89.  
  90. at test.printErrorMessage(test.java:300)
  91. at test.testPrintStatisticCharDoublesMethod(test.java:286)
  92. at test.run(Unknown Source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement