confirm through fifth sample sound change rule
This commit is contained in:
parent
162b6b8cfc
commit
66be6e0650
2 changed files with 14 additions and 1 deletions
|
@ -15,8 +15,8 @@ export const initState = (changesArgument: number): stateType => {
|
|||
'a>ɯ/._#',
|
||||
'[+ sonorant - low rounded high back]>0/._.',
|
||||
'[+ obstruent]>[+ obstruent aspirated ]/#_.',
|
||||
'[+ sonorant - rounded]>[+ sonorant + rounded]/._#'
|
||||
// 'nn>nun/._.',
|
||||
// '[+ sonorant rounded]>[+ sonorant - rounded]/._#'
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -138,6 +138,19 @@ describe('Results', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it('results returned through fifth sound change rule', () => {
|
||||
const action = {type: 'RUN'};
|
||||
state = initState(5)
|
||||
expect(stateReducer(state, action).results).toEqual([
|
||||
{
|
||||
pass: 'epoch 1',
|
||||
lexicon: [
|
||||
'annu', 'anat', 'ant', 'annu', 'tʰan', 'nnu'
|
||||
]
|
||||
}
|
||||
]);
|
||||
});
|
||||
|
||||
// if('results returned from sound change suite', () => {
|
||||
// const action = {type: 'RUN'};
|
||||
// state = initState()
|
||||
|
|
Loading…
Reference in a new issue