From 110d5dfa8d1c92ad347628f3bf5b647fe3f4c8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pawela?= Date: Wed, 20 Dec 2023 14:53:03 +0100 Subject: [PATCH] fix tests --- Manifest.toml | 0 Project.toml | 11 ++++++++++- src/utils.jl | 2 +- test/runtests.jl | 3 ++- 4 files changed, 13 insertions(+), 3 deletions(-) delete mode 100644 Manifest.toml diff --git a/Manifest.toml b/Manifest.toml deleted file mode 100644 index e69de29..0000000 diff --git a/Project.toml b/Project.toml index 16e817c..2ecae73 100644 --- a/Project.toml +++ b/Project.toml @@ -31,4 +31,13 @@ LinearMaps = "3.8" MetaGraphs = "0.6, 0.7" SortingAlgorithms = "1.0" SpinGlassNetworks = "0.2.3" -julia = "1.5, 1.6" \ No newline at end of file +julia = "1.8, 1.9" + +[extras] +Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +SpinGlassEngine = "0563570f-ea1b-4080-8a64-041ac6565a4e" + +[targets] +test = ["Logging", "Test", "Random", "SpinGlassEngine"] \ No newline at end of file diff --git a/src/utils.jl b/src/utils.jl index b2a686b..6e78b99 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1,5 +1,5 @@ using Distributions - +export generate_random_graph """ $(SIGNATURES) - `d::Int`: size of random graph. diff --git a/test/runtests.jl b/test/runtests.jl index ed6f701..a6b4070 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,6 @@ using SpinGlassExhaustive - +using Test +using CUDA my_tests = ["ising.jl", "utils.jl", "brute_force.jl"] for my_test ∈ my_tests