File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6060 @test test_expr (n -> :(Base. Int (:: $n ) = 0 )) broken= true
6161 @test test_expr (n -> :(Base. UInt (:: $n ) = 0x0 )) broken= true
6262 end
63- @testset " arithmetic" begin
63+ @testset " arithmetic with primitive types " begin
6464 @test test_expr (n -> :(Base.:(+ )(:: $n , m:: Bool ) = m))
6565 @test test_expr (n -> :(Base.:(+ )(m:: Bool , :: $n ) = m))
6666 @test test_expr (n -> :(Base.:(+ )(:: $n , m:: Int8 ) = m))
7676 @test test_expr (n -> :(Base.:(+ )(:: $n , m:: UInt ) = m))
7777 @test test_expr (n -> :(Base.:(+ )(m:: UInt , :: $n ) = m))
7878 end
79- @testset " promotion" begin
79+ @testset " promotion with primitive types " begin
8080 @test (
8181 test_expr (n -> :(Base. promote_rule (:: Type{Bool} , :: Type{$n} ) = Bool)) &&
8282 test_expr (n -> :(Base. promote_rule (:: Type{$n} , :: Type{Bool} ) = Bool))
8383 ) broken= true
8484 end
85- @testset " misc " begin
85+ @testset " unary functions " begin
8686 @test test_expr (n -> :(Base. zero (:: $n ) = $ n ())) broken= true
8787 @test test_expr (n -> :(Base. one (:: $n ) = $ n ())) broken= true
8888 end
You can’t perform that action at this time.
0 commit comments