Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. ==================================================
  2. Testing Task 4 (functions)
  3. --------------------------------------------------
  4. Test c0vm tests/task4/static2.bc0, expect successful execution
  5. *** TEST FAILED! Expected successful execution.
  6. *** Actual outcome: An assertion failed unexpectedly
  7. *** Hint: Problem with invokestatic.
  8. --------------------------------------------------
  9. Test c0vm tests/task4/native1.bc0, expect successful execution - good, this worked.
  10. --------------------------------------------------
  11. Test c0vm tests/task4/static1.bc0, expect successful execution - good, this worked.
  12. Test c0vmd tests/task4/static1.bc0, expect successful execution - good, this worked.
  13. Test c0vm tests/task4/static4.bc0, expect successful execution
  14. *** TEST FAILED! Expected successful execution.
  15. *** Actual outcome: c0_memory_error() was called
  16. *** Hint: Problem with different numbers of arguments/locals.
  17. --------------------------------------------------
  18. Test c0vm tests/task4/recursion1.bc0, expect successful execution
  19. *** TEST FAILED! Expected successful execution.
  20. *** Actual outcome: An assertion failed unexpectedly
  21. *** Hint: Problem with recursive functions.
  22. --------------------------------------------------
  23. Test c0vmd tests/task4/recursion4.bc0, expect c0_assertion_failure() - good, this did what we expected.
  24. Test c0vmd tests/task4/recursion6.bc0, expect c0_user_error() on string of length 6 - good, this did what we expected.
  25. --------------------------------------------------
  26. Test c0vm tests/task4/recursion5.bc0, expect successful execution
  27. *** TEST FAILED! Expected successful execution.
  28. *** Actual outcome: An assertion failed unexpectedly
  29. *** Hint: Recursively computes 7^1,000,000. Will likely fail if recursion is not efficiently implemented with a callstack data structure.
  30. --------------------------------------------------
  31. Test c0vm tests/task4/native1.bc0, expect successful execution - good, this worked.
  32. Test c0vmd tests/task4/native1.bc0, expect successful execution - good, this worked.
  33. Test c0vm tests/task4/native2.bc0, expect successful execution - good, this worked.
  34. Test c0vmd tests/task4/native2.bc0, expect successful execution - good, this worked.
  35. Test c0vm tests/task4/native3.bc0, expect successful execution - good, this worked.
  36. Test c0vmd tests/task4/native3.bc0, expect successful execution - good, this worked.
  37. Test c0vm tests/task4/native4.bc0, expect successful execution
  38. *** TEST FAILED! Expected successful execution.
  39. *** Actual outcome: An assertion failed unexpectedly
  40. *** Hint: Problem with invokenative.
  41. --------------------------------------------------
  42. Test c0vm tests/task4/returnstring.bc0, expect successful execution
  43. *** TEST FAILED! Expected successful execution.
  44. *** Actual outcome: c0_memory_error() was called
  45. *** Hint: Functions that return strings
  46. --------------------------------------------------
  47. Test c0vm tests/task4/string1.bc0, expect successful execution
  48. *** TEST FAILED! Expected successful execution.
  49. *** Actual outcome: c0_memory_error() was called
  50. *** Hint: invokenative and the string library.
  51. *** NOTE: this could also be a problem with strings, aldc, or invokestatic/return
  52. --------------------------------------------------
  53. Test c0vm tests/task4/string5.bc0, expect assertion failure
  54. *** TEST FAILED! Expected a contract to fail.
  55. *** Actual outcome: c0_memory_error() was called
  56. *** Hint: invokenative and the string library (negative numbers)
  57. --------------------------------------------------
  58. Task 4 score: 1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement