This commit is contained in:
Mike J Innes 2016-12-15 23:13:20 +00:00
parent 2a4b39054f
commit 52d3ab148e
1 changed files with 2 additions and 4 deletions

View File

@ -4,9 +4,7 @@ d = Affine(10, 20)
@test d(xs) == xs*d.W.x + d.b.x
@testset begin
let
@capture(syntax(d), x_[1] * W_ + b_)
@test isa(x, Input)
@test isa(W, Param)
@test isa(b, Param)
@test isa(x, Input) && isa(W, Param) && isa(b, Param)
end