Mercurial > repos > public > sbplib_julia
comparison LazyTensors/test/runtests.jl @ 198:b5c9be7f391c boundary_conditions
Fix up some formatting
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Thu, 20 Jun 2019 23:28:02 +0200 |
| parents | 25d2ef206fe9 |
| children | c19bfad0e836 9d9f7b0e514b |
comparison
equal
deleted
inserted
replaced
| 197:a340fa91b1fc | 198:b5c9be7f391c |
|---|---|
| 1 using Test | 1 using Test |
| 2 using LazyTensors | 2 using LazyTensors |
| 3 | |
| 4 | |
| 5 | 3 |
| 6 @testset "Generic Mapping methods" begin | 4 @testset "Generic Mapping methods" begin |
| 7 struct DummyMapping{T,R,D} <: TensorMapping{T,R,D} end | 5 struct DummyMapping{T,R,D} <: TensorMapping{T,R,D} end |
| 8 LazyTensors.apply(m::DummyMapping{T,R,D}, v, i) where {T,R,D} = :apply | 6 LazyTensors.apply(m::DummyMapping{T,R,D}, v, i) where {T,R,D} = :apply |
| 9 @test range_dim(DummyMapping{Int,2,3}()) == 2 | 7 @test range_dim(DummyMapping{Int,2,3}()) == 2 |
