ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
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.
 
 
 
 
 
 

120 lines
2.1 KiB

  1. # Puropose: Verify existing BWBASIC behavior
  2. # Author: Howard Wulf
  3. # Date: 2014-03-31
  4. # Usage: implementatino defined
  5. # Example:
  6. # cd /sdcard/Download/BASIC/bwbasic3/SCBP
  7. # ash ./00test.sh
  8. #
  9. rm *.80
  10. rm *.OUT
  11. rm *.dif
  12. # ----------------------------------------------
  13. # Regression Tests
  14. # ----------------------------------------------
  15. testcase()
  16. {
  17. TESTCASE=${1}
  18. echo "TESTCASE=${TESTCASE}"
  19. ~/bwbasic ${TESTCASE} > ${TESTCASE}.OUT
  20. echo "500 DATA ${TESTCASE}.OUT, ${TESTCASE}.80" > PAD80.INP
  21. ~/bwbasic PAD80.BAS
  22. diff ${TESTCASE}.run ${TESTCASE}.80 > ${TESTCASE}.dif
  23. if test -s ${TESTCASE}.dif
  24. then
  25. echo less ${TESTCASE}.dif
  26. fi
  27. }
  28. # ---------------------------------------------
  29. echo "OPTION VERSION BYWATER" > profile.bas
  30. echo "OPTION LABELS OFF" >> profile.bas
  31. testcase ALFASORT
  32. testcase AMORTTAB
  33. testcase ANAL2VEC
  34. testcase ANGLMET
  35. testcase AREAPOLY
  36. testcase BINODIST
  37. testcase CHECWRIT
  38. testcase CHI2DIST
  39. testcase CHI2TEST
  40. testcase COMMPAP
  41. testcase CORDCONV
  42. testcase CURVINT
  43. testcase DAY2DAY
  44. testcase DAYWEEK
  45. testcase DEGRAD
  46. testcase DEPAMT
  47. testcase DEPRATE
  48. testcase DEPRSKED
  49. testcase DERIV
  50. testcase EARNINT
  51. testcase EFFINT
  52. testcase EXPREGR
  53. testcase FDIST
  54. testcase FUTVALDE
  55. testcase FUTVALIN
  56. testcase GCD
  57. testcase GEOMEAN
  58. testcase GEOREGR
  59. testcase GROWRATE
  60. testcase INITINV
  61. testcase INTGGAUS
  62. testcase INTGSIMP
  63. testcase INTGTRAP
  64. testcase LABELS
  65. testcase LASTPAY
  66. testcase LINCORCO
  67. testcase LINEPROG
  68. testcase LININT
  69. testcase LINREGR
  70. testcase LOANBAL
  71. testcase LOANPAY
  72. testcase LOANRATE
  73. testcase LOANTERM
  74. testcase MANNWHIT
  75. testcase MAPCHECK
  76. testcase MATADD
  77. testcase MATINV
  78. testcase MATMULT
  79. testcase MININV
  80. testcase MLINREGR
  81. testcase NOMINT
  82. testcase NORDREGR
  83. testcase NORMDIST
  84. testcase OPS2VEC
  85. testcase PARTSTRI
  86. testcase PERMCOMB
  87. testcase PLOTFUNC
  88. testcase POISDIST
  89. testcase PRIFACT
  90. testcase PRINLOAN
  91. testcase QUADROOT
  92. testcase RADDEG
  93. testcase RECICOST
  94. testcase REGDEP
  95. testcase REGWDRAW
  96. testcase ROOTNEWT
  97. testcase ROOTPOLY
  98. testcase SALVAGE
  99. testcase SIMLEQNS
  100. testcase STDDEV
  101. testcase SYSREL
  102. testcase TDIST
  103. testcase TDISTEST
  104. testcase TRIGPOLY
  105. cat *.dif > dif.OUT
  106. less dif.OUT
  107. # EOF