Skip to content

Commit

Permalink
chore: add MTX20 & MTX21
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Nov 23, 2024
1 parent c60d66f commit ad604de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const MODEL_X = [
['Long Range', [['MTX03'], ['MTX10']]],
['Long Range Plus', [['MTX05'], ['MTX07']]],
['Performance', [['MTX04'], ['MTX06'], ['MTX08']]],
['', [['MTX12'], ['MTX13'], ['MTX15'], ['MTX18']]],
['Plaid', [['MTX11'], ['MTX14'], ['MTX16'], ['MTX19']]],
['', [['MTX12'], ['MTX13'], ['MTX15'], ['MTX18'], ['MTX20']]],
['Plaid', [['MTX11'], ['MTX14'], ['MTX16'], ['MTX19'], ['MTX21']]],
['Plaid+', [['MTX09']]]
]

Expand Down
2 changes: 2 additions & 0 deletions test/model-x.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@ test('Model X', t => {
t.is(title({ optionCodes: ['MDLX', 'MTX13'] }), '')
t.is(title({ optionCodes: ['MDLX', 'MTX15'] }), '')
t.is(title({ optionCodes: ['MDLX', 'MTX18'] }), '')
t.is(title({ optionCodes: ['MDLX', 'MTX20'] }), '')
})

test('Model X Plaid', t => {
t.is(title({ optionCodes: ['MDLX', 'MTX11'] }), 'Plaid')
t.is(title({ optionCodes: ['MDLX', 'MTX14'] }), 'Plaid')
t.is(title({ optionCodes: ['MDLX', 'MTX16'] }), 'Plaid')
t.is(title({ optionCodes: ['MDLX', 'MTX19'] }), 'Plaid')
t.is(title({ optionCodes: ['MDLX', 'MTX21'] }), 'Plaid')
})

test('Model X Plaid+', t => {
Expand Down

0 comments on commit ad604de

Please sign in to comment.