confirm through fifth sample sound change rule

This commit is contained in:
Sorrel Bri 2020-02-19 18:52:29 -08:00
parent 162b6b8cfc
commit 66be6e0650
2 changed files with 14 additions and 1 deletions

View file

@ -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]/._#'
]
}
],

View file

@ -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()