Skip to content

Commit

Permalink
relocate test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Casheeew committed Jan 22, 2024
1 parent 0805f85 commit fc07df9
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions test/deinflector.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,47 @@ function testDeinflections() {
{term: 'つよい', source: 'つええ', rule: 'adj-i', reasons: ['-e']}
]
},
{
category: 'irregular verbs',
valid: false,
tests: [
{term: 'する', source: 'すます', rule: 'vs', reasons: null},
{term: 'する', source: 'すた', rule: 'vs', reasons: null},
{term: 'する', source: 'すました', rule: 'vs', reasons: null},
{term: 'する', source: 'すて', rule: 'vs', reasons: null},
{term: 'する', source: 'すれる', rule: 'vs', reasons: null},
{term: 'する', source: 'すせる', rule: 'vs', reasons: null},
{term: 'する', source: 'すせられる', rule: 'vs', reasons: null},
{term: 'する', source: 'すろ', rule: 'vs', reasons: null},
{term: 'する', source: 'すない', rule: 'vs', reasons: null},
{term: 'する', source: 'すません', rule: 'vs', reasons: null},
{term: 'する', source: 'すなかった', rule: 'vs', reasons: null},
{term: 'する', source: 'すませんでした', rule: 'vs', reasons: null},
{term: 'する', source: 'すなくて', rule: 'vs', reasons: null},
{term: 'する', source: 'すれない', rule: 'vs', reasons: null},
{term: 'する', source: 'すせない', rule: 'vs', reasons: null},
{term: 'する', source: 'すせられない', rule: 'vs', reasons: null},

{term: 'くる', source: 'くます', rule: 'vk', reasons: null},
{term: 'くる', source: 'くた', rule: 'vk', reasons: null},
{term: 'くる', source: 'くました', rule: 'vk', reasons: null},
{term: 'くる', source: 'くて', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くい', rule: 'vk', reasons: null},
{term: 'くる', source: 'くない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くません', rule: 'vk', reasons: null},
{term: 'くる', source: 'くなかった', rule: 'vk', reasons: null},
{term: 'くる', source: 'くませんでした', rule: 'vk', reasons: null},
{term: 'くる', source: 'くなくて', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせられない', rule: 'vk', reasons: null}
]
},
{
category: 'uncommon irregular verbs',
valid: true,
Expand Down Expand Up @@ -952,47 +993,6 @@ function testDeinflections() {
{term: '食べる', source: '食べさせられたくなかった', rule: 'v1', reasons: ['causative', 'potential or passive', '-tai', 'negative', 'past']}
]
},
{
category: 'irregular verbs',
valid: false,
tests: [
{term: 'する', source: 'すます', rule: 'vs', reasons: null},
{term: 'する', source: 'すた', rule: 'vs', reasons: null},
{term: 'する', source: 'すました', rule: 'vs', reasons: null},
{term: 'する', source: 'すて', rule: 'vs', reasons: null},
{term: 'する', source: 'すれる', rule: 'vs', reasons: null},
{term: 'する', source: 'すせる', rule: 'vs', reasons: null},
{term: 'する', source: 'すせられる', rule: 'vs', reasons: null},
{term: 'する', source: 'すろ', rule: 'vs', reasons: null},
{term: 'する', source: 'すない', rule: 'vs', reasons: null},
{term: 'する', source: 'すません', rule: 'vs', reasons: null},
{term: 'する', source: 'すなかった', rule: 'vs', reasons: null},
{term: 'する', source: 'すませんでした', rule: 'vs', reasons: null},
{term: 'する', source: 'すなくて', rule: 'vs', reasons: null},
{term: 'する', source: 'すれない', rule: 'vs', reasons: null},
{term: 'する', source: 'すせない', rule: 'vs', reasons: null},
{term: 'する', source: 'すせられない', rule: 'vs', reasons: null},

{term: 'くる', source: 'くます', rule: 'vk', reasons: null},
{term: 'くる', source: 'くた', rule: 'vk', reasons: null},
{term: 'くる', source: 'くました', rule: 'vk', reasons: null},
{term: 'くる', source: 'くて', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせられる', rule: 'vk', reasons: null},
{term: 'くる', source: 'くい', rule: 'vk', reasons: null},
{term: 'くる', source: 'くない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くません', rule: 'vk', reasons: null},
{term: 'くる', source: 'くなかった', rule: 'vk', reasons: null},
{term: 'くる', source: 'くませんでした', rule: 'vk', reasons: null},
{term: 'くる', source: 'くなくて', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くられない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせない', rule: 'vk', reasons: null},
{term: 'くる', source: 'くさせられない', rule: 'vk', reasons: null}
]
},
{
category: 'kawaii (this leads to infinite expansions)',
valid: false,
Expand Down

0 comments on commit fc07df9

Please sign in to comment.