This commit is contained in:
Mike J Innes 2016-12-15 23:13:20 +00:00
parent 2a4b39054f
commit 52d3ab148e

View File

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