syntax-prosody-ot / main

A webapp for the syntax-prosody analyst working in Optimality Theory, with automated Gen, Con and Eval. Download build files from syntax-prosody-ot/build
https://spot.sites.ucsc.edu/
GNU General Public License v2.0
12 stars 2 forks source link

Automated testing for Align/Wrap #483

Closed jbellik closed 3 years ago

jbellik commented 3 years ago

Create an html document that uses Mocha tests to check the values produced by alignLeftSP(), alignRightSP(), and their PS equivalents, as well as wrap() (all defined in main/constraints/alignWrap.js).

We also need to test the options on these constraints -- main/test/customAlign_Long_PS.html and main/test/customAlign_short_SP.html are both relevant here, although they may be hard to interpret?

jbellik commented 3 years ago
  1. Figure out useful test cases for basic Align/Wrap & create Mocha tests for those
  2. Convert some/all of the existing custom Align tests to Mocha