Skip to content

Commit

Permalink
add BenchmarkTools as a test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Sep 30, 2024
1 parent 3eba153 commit 8be1608
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
54 changes: 28 additions & 26 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,46 @@ authors = ["Leandro Martinez <[email protected]>"]
version = "1.8.5-DEV"

[deps]
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a"
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[extras]
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"

[compat]
Downloads = "1.6"
Documenter = "1.3"
TestItemRunner = "0.2"
Test = "1.9"
DelimitedFiles = "1.9"
LinearAlgebra = "1.9"
OrderedCollections = "1.6.3"
AtomsBase = "0.3.4, 0.4"
Format = "1.3"
Aqua = "0.8"
BenchmarkTools = "1.5"
AtomsBase = "0.3.4, 0.4"
Dates = "1.9"
StaticArrays = "1.6"
julia = "1.9"
DelimitedFiles = "1.9"
Documenter = "1.3"
Downloads = "1.6"
Format = "1.3"
InteractiveUtils = "1.9"
TestItems = "0.1, 1"
LinearAlgebra = "1.9"
OrderedCollections = "1.6.3"
Parameters = "0.12"
Printf = "1.9"
StaticArrays = "1.6"
Test = "1.9"
TestItemRunner = "0.2"
TestItems = "0.1, 1"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"

[targets]
test = ["Test", "TestItemRunner", "StaticArrays", "Aqua", "Documenter", "DelimitedFiles"]
test = ["Test", "TestItemRunner", "StaticArrays", "Aqua", "Documenter", "DelimitedFiles", "BenchmarkTools"]
2 changes: 1 addition & 1 deletion src/Atom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ function mass(atoms::AbstractVector{<:Atom})
end

@testitem "fetch atomic element properties" begin
using BenchmkarkTools
using BenchmarkTools
at = Atom(name="NT3")
@test atomic_number(at) == 7
@test element(at) == "N"
Expand Down

0 comments on commit 8be1608

Please sign in to comment.