Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#53 - Add ResetMap #55

Merged
merged 2 commits into from
Feb 1, 2019
Merged

#53 - Add ResetMap #55

merged 2 commits into from
Feb 1, 2019

Conversation

mforets
Copy link
Member

@mforets mforets commented Feb 1, 2019

Closes #53.

test/maps.jl Outdated
@@ -55,3 +55,11 @@ end
m = ConstrainedAffineControlMap(A, B, c, U)
@test outputdim(m) == 2
end

@testset "Reset map" begin
m = ResetMap(10, 9 => 0.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe turn this test into a real Dict{Int, Float64}. The other test already covers the the automatic wrapping.

julia> typeof(9 => 0.)
Pair{Int64,Float64}

@mforets mforets merged commit a1a9dd3 into master Feb 1, 2019
@mforets mforets deleted the mforets/53 branch February 1, 2019 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants