Validate timeseries length

This commit is contained in:
2020-06-30 09:41:29 -05:00
parent 14714c382b
commit 472182b200
3 changed files with 219 additions and 6 deletions

View File

@@ -71,5 +71,9 @@ using RELOG
@test plant.disposal_limit[p3] == [1e8, 1e8]
@test plant.disposal_limit[p4] == [0, 0]
end
@testset "validate timeseries" begin
@test_throws String RELOG.load("fixtures/s1-wrong-length.json")
end
end