Skip to content

Commit 794d75e

Browse files
committed
Changed tests to remove the use of (discontinued?) @includetests macro
1 parent 059cc48 commit 794d75e

File tree

2 files changed

+63
-5
lines changed

2 files changed

+63
-5
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MicroFloatingPoints"
22
uuid = "6e0295d3-a2ae-4d9e-ab31-7b55fc0f4333"
33
authors = ["Frédéric Goualard <[email protected]>"]
4-
version = "1.5.0"
4+
version = "1.5.1"
55

66
[deps]
77
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

test/runtests.jl

+62-4
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,70 @@ using MicroFloatingPoints.MFPUtils
2626
using MicroFloatingPoints.MFPRandom
2727
using MicroFloatingPoints.MFPPlot
2828

29-
# Call "julia runtests.jl [tests1] [tests2] ..."
30-
# to launch only the tests in `test1.jl`, `test2.jl`, ...
3129
# Calling "julia runtests.jl" launches all tests in the directory.
3230
@testset ExtendedTestSet "All the tests" begin
33-
@testset "All tests" begin
34-
@includetests ARGS
31+
@testset "Arithmetic tests" begin
32+
include("arithmetic.jl")
33+
end
34+
@testset "Constructor tests" begin
35+
include("constructors.jl")
36+
end
37+
@testset "Emask tests" begin
38+
include("Emask.jl")
39+
end
40+
@testset "fmask tests" begin
41+
include("fmask.jl")
42+
end
43+
@testset "prevnext tests" begin
44+
include("prevnext.jl")
45+
end
46+
@testset "smask tests" begin
47+
include("smask.jl")
48+
end
49+
@testset "bias tests" begin
50+
include("bias.jl")
51+
end
52+
@testset "convert tests" begin
53+
include("convert.jl")
54+
end
55+
@testset "Emax tests" begin
56+
include("Emax.jl")
57+
end
58+
@testset "iterator tests" begin
59+
include("iterator.jl")
60+
end
61+
@testset "utils tests" begin
62+
include("utils.jl")
63+
end
64+
@testset "classes tests" begin
65+
include("classes.jl")
66+
end
67+
@testset "decompose tests" begin
68+
include("decompose.jl")
69+
end
70+
@testset "Emin tests" begin
71+
include("Emin.jl")
72+
end
73+
@testset "misc tests" begin
74+
include("misc.jl")
75+
end
76+
@testset "signbit tests" begin
77+
include("signbit.jl")
78+
end
79+
@testset "constants tests" begin
80+
include("constants.jl")
81+
end
82+
@testset "display tests" begin
83+
include("display.jl")
84+
end
85+
@testset "error tests" begin
86+
include("error.jl")
87+
end
88+
@testset "parse tests" begin
89+
include("parse.jl")
90+
end
91+
@testset "sign tests" begin
92+
include("sign.jl")
3593
end
3694
end;
3795

0 commit comments

Comments
 (0)