Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ FillArraysStatisticsExt = "Statistics"

[compat]
Aqua = "0.5, 0.6"
DSP = "0.7"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Test", "Base64", "ReverseDiff", "SparseArrays", "StaticArrays", "Statistics"]
test = ["Aqua", "Test", "Base64", "ReverseDiff", "SparseArrays", "StaticArrays", "Statistics", "DSP"]
18 changes: 17 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
using FillArrays, LinearAlgebra, SparseArrays, StaticArrays, ReverseDiff, Random, Base64, Test, Statistics
using Base64
using DSP
using FillArrays
using LinearAlgebra
using Random
using ReverseDiff
using SparseArrays
using StaticArrays
using Statistics
using Test

import FillArrays: AbstractFill, RectDiagonal, SquareEye

using Aqua
Expand Down Expand Up @@ -2194,3 +2204,9 @@ end
@test ReverseDiff.gradient(x -> sum(abs2.((Zeros{eltype(x)}(5) .+ zeros(5)) ./ x)), rand(5)) == zeros(5)
@test ReverseDiff.gradient(x -> sum(abs2.((zeros(5) .+ Zeros{eltype(x)}(5)) ./ x)), rand(5)) == zeros(5)
end

@testset "DSP" begin
@test conv(Fill(2, 3), Ones(4)) == conv(fill(2, 3), ones(4))
@test conv(Fill(2, 3), ones(4)) == conv(fill(2, 3), ones(4))
@test conv(fill(2, 3), Ones(4)) == conv(fill(2, 3), ones(4))
end