Skip to content

Commit

Permalink
Adds now-passing test of Overdubbing an Overdub (adding edges to func…
Browse files Browse the repository at this point in the history
…tion with edges) (#151)
  • Loading branch information
NHDaly authored and vchuravy committed Oct 10, 2019
1 parent b4b88c9 commit b318b15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/misctests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -663,3 +663,12 @@ let d = Dense(3,3)
data = rand(3)
Cassette.overdub(CtxCallOverload(), d, data)
end

#############################################################################################

print(" running OverdubOverdubCtx test...")

# Fixed in PR #148
Cassette.@context OverdubOverdubCtx;
overdub_overdub_me() = 2
Cassette.overdub(OverdubOverdubCtx(), Cassette.overdub, OverdubOverdubCtx(), overdub_overdub_me)

0 comments on commit b318b15

Please sign in to comment.