From d7bc579723badae96ad3138d775e41ed2a4e6d03 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Thu, 12 Dec 2024 21:46:42 +0100 Subject: [PATCH] More tests --- test/runtests.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 21f396d..f30b518 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -553,6 +553,11 @@ end m1 = MemoryView(Union{Int, UInt}[-1]) m2 = MemoryView(Union{Int, UInt}[typemax(UInt)]) @test m1 != m2 + + m1 = MemoryView([1, 2, 3]) + m2 = ImmutableMemoryView([1, 2, 3]) + @test m1 == m2 + @test m2 == m1 end @testset "MemoryKind" begin