diff --git a/src/reducers/reducer.init.js b/src/reducers/reducer.init.js index 29c917e..f3a3257 100644 --- a/src/reducers/reducer.init.js +++ b/src/reducers/reducer.init.js @@ -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]/._#' ] } ], diff --git a/src/reducers/reducer.results.test.js b/src/reducers/reducer.results.test.js index 30de2fd..f5699ec 100644 --- a/src/reducers/reducer.results.test.js +++ b/src/reducers/reducer.results.test.js @@ -137,6 +137,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'};