diff --git a/Project.toml b/Project.toml index 627cab1e4..98d9e4e9f 100644 --- a/Project.toml +++ b/Project.toml @@ -5,7 +5,6 @@ repository = "https://github.com/microsoft/OpticSim.jl" version = "0.5.1" [deps] -BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" diff --git a/test/TestData/TestData.jl b/test/TestData/TestData.jl index 9996f91ec..130c5a05b 100644 --- a/test/TestData/TestData.jl +++ b/test/TestData/TestData.jl @@ -17,27 +17,8 @@ using Unitful using Images using Base: @. using LinearAlgebra -using BenchmarkTools -### Emitters - -function RectGridAllocations() - directions = Emitters.Directions.RectGrid(π/4, π/4, 150, 150) - function f() - let result - for point in directions - result = point - end - return result - end - end - - result = @benchmark $f() - return result - # return allocations(result) -end - ### CURVES function bsplinecurve() diff --git a/test/testsets/Emitters.jl b/test/testsets/Emitters.jl index 03a4e440c..874c51dd7 100644 --- a/test/testsets/Emitters.jl +++ b/test/testsets/Emitters.jl @@ -6,7 +6,6 @@ using Test using OpticSim using OpticSim.Emitters using OpticSim.Geometry -using BenchmarkTools using Random using StaticArrays