Skip to content

Commit 50ca2cd

Browse files
test: update unit tests to account for changes to TIME STEP and SAVEPER values
1 parent 482ee3c commit 50ca2cd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/compile/src/model/read-equations.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5619,13 +5619,13 @@ describe('readEquations', () => {
56195619
refId: '_final_time',
56205620
varType: 'const'
56215621
}),
5622-
v('TIME STEP', '1', {
5622+
v('TIME STEP', '0.25', {
56235623
refId: '_time_step',
56245624
varType: 'const'
56255625
}),
5626-
v('SAVEPER', 'TIME STEP', {
5626+
v('SAVEPER', '1', {
56275627
refId: '_saveper',
5628-
references: ['_time_step']
5628+
varType: 'const'
56295629
}),
56305630
v('Time', '', {
56315631
refId: '_time',

packages/compile/src/model/read-variables.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ describe('readVariables', () => {
502502
}),
503503
v('INITIAL TIME', '0'),
504504
v('FINAL TIME', '10'),
505-
v('TIME STEP', '1'),
506-
v('SAVEPER', 'TIME STEP'),
505+
v('TIME STEP', '0.25'),
506+
v('SAVEPER', '1'),
507507
v('Time', '')
508508
])
509509
})

0 commit comments

Comments
 (0)