Skip to content

Commit

Permalink
TerraME#16 Update Model e Teste
Browse files Browse the repository at this point in the history
  • Loading branch information
terrivel committed Aug 11, 2017
1 parent 0eff9f9 commit 1a789c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lua/Dam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- @arg data.water The initial stock of water measured in m³. The initial value is 5,000,000,000.
-- @arg data.inFlow1 The flow of water into the dam each first season. The default is 2e9.
-- @arg data.inFlow2 The flow of water into the dam each second season. The dafault value is 1.5e9.
-- @arg data.currentYear The Flow of water into the dam each tird season.
-- @arg data.currentYear The Flow of water into the dam each tird season.
-- @arg data.population The total amount of inhabitants. The default value is 1e5.
-- @arg data.consumePerPerson The total amount of water per inhabitant. The default value is 10.
-- @arg data.kWh2cubicMeters The total amount of kWh produced by cubic meters. The default value is 100.
Expand Down
2 changes: 0 additions & 2 deletions tests/Dam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ return{
model:run()

unitTest:assertSnapshot(model.chart, "Dam-chart-1.bmp", 0.15)

model = Dam{countYear = true}

model:run()

unitTest:assertSnapshot(model.chart, "Dam-chart-2.bmp", 0.12)

end,
}

0 comments on commit 1a789c2

Please sign in to comment.