PeriodicWave must throw error if arrays are too short
The real and imaginary arrays used to construct a PeriodicWave must have a length of at least 2. Otherwise, throw an IndexSizeError. The error message now looks like: "The length of the real array provided (1) is less than the minimum bound (2)." Test now passes so remove the expected results. Bug: 1112826 Change-Id: Ic336dcd955276aef74b132e39bfed09ca3b67732 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337076 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#794748}
Showing
Please register or sign in to comment