diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-08 22:59:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 22:59:40 -0500 |
commit | 2484ba68d11d8844a9392aeb6c5769ea05207983 (patch) | |
tree | e897f49301afa31abae2391b162bf519090c52cc | |
parent | df9436bc3e7f615062198052a9cb0659e7d61590 (diff) |
Add classic suru deinflection negative tests (#1090)
* Add negative tests for classic suru verbs
* Add missing test for non-negative classic: causative, potential or passive
-rw-r--r-- | test/test-deinflector.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test-deinflector.js b/test/test-deinflector.js index 5133b9f9..eb932fc4 100644 --- a/test/test-deinflector.js +++ b/test/test-deinflector.js @@ -485,16 +485,19 @@ function testDeinflections() { {term: '為る', source: '為せる', rule: 'vs', reasons: ['causative']}, {term: '為る', source: '為させる', rule: 'vs', reasons: ['causative']}, {term: '為る', source: '為せられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, + {term: '為る', source: '為させられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, {term: '為る', source: '為ろ', rule: 'vs', reasons: ['imperative']}, {term: '為る', source: '為ない', rule: 'vs', reasons: ['negative']}, {term: '為る', source: '為ません', rule: 'vs', reasons: ['polite negative']}, {term: '為る', source: '為なかった', rule: 'vs', reasons: ['negative', 'past']}, {term: '為る', source: '為ませんでした', rule: 'vs', reasons: ['polite past negative']}, {term: '為る', source: '為なくて', rule: 'vs', reasons: ['negative', '-te']}, - // ['potential', 'negative'] + {term: '為る', source: '為られない', rule: 'vs', reasons: ['potential or passive', 'negative']}, {term: '為る', source: '為れない', rule: 'vs', reasons: ['passive', 'negative']}, {term: '為る', source: '為せない', rule: 'vs', reasons: ['causative', 'negative']}, + {term: '為る', source: '為させない', rule: 'vs', reasons: ['causative', 'negative']}, {term: '為る', source: '為せられない', rule: 'vs', reasons: ['causative', 'potential or passive', 'negative']}, + {term: '為る', source: '為させられない', rule: 'vs', reasons: ['causative', 'potential or passive', 'negative']}, {term: '為る', source: '為るな', rule: 'vs', reasons: ['imperative negative']}, {term: '為る', source: '為れば', rule: 'vs', reasons: ['-ba']}, @@ -527,16 +530,19 @@ function testDeinflections() { {term: 'する', source: 'させる', rule: 'vs', reasons: ['causative']}, {term: 'する', source: 'せさせる', rule: 'vs', reasons: ['causative']}, {term: 'する', source: 'させられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, + {term: 'する', source: 'せさせられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, {term: 'する', source: 'しろ', rule: 'vs', reasons: ['imperative']}, {term: 'する', source: 'しない', rule: 'vs', reasons: ['negative']}, {term: 'する', source: 'しません', rule: 'vs', reasons: ['polite negative']}, {term: 'する', source: 'しなかった', rule: 'vs', reasons: ['negative', 'past']}, {term: 'する', source: 'しませんでした', rule: 'vs', reasons: ['polite past negative']}, {term: 'する', source: 'しなくて', rule: 'vs', reasons: ['negative', '-te']}, - // ['potential', 'negative'] + {term: 'する', source: 'せられない', rule: 'vs', reasons: ['potential or passive', 'negative']}, {term: 'する', source: 'されない', rule: 'vs', reasons: ['passive', 'negative']}, {term: 'する', source: 'させない', rule: 'vs', reasons: ['causative', 'negative']}, + {term: 'する', source: 'せさせない', rule: 'vs', reasons: ['causative', 'negative']}, {term: 'する', source: 'させられない', rule: 'vs', reasons: ['causative', 'potential or passive', 'negative']}, + {term: 'する', source: 'せさせられない', rule: 'vs', reasons: ['causative', 'potential or passive', 'negative']}, {term: 'する', source: 'するな', rule: 'vs', reasons: ['imperative negative']}, {term: 'する', source: 'すれば', rule: 'vs', reasons: ['-ba']}, |