@@ -671,8 +671,22 @@ same_value_and_type(x::T, y::T) where {T} = (x === y) || (x == y)
671671 @test @inferred (units_of (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
672672 @test @inferred (units_of (TypeUtils. NoUnits)) === TypeUtils. NoUnits ()
673673 @test @inferred (pi * units_of (42 )) === pi
674+ @test @inferred (units_of (42 )* pi ) === pi
675+ @test @inferred (pi / units_of (42 )) === pi
676+ @test @inferred (units_of (42 )\ pi ) === pi
674677 @test @inferred (units_of (big (1.0 ))* pi ) === pi
675678 @test @inferred (units_of (0x01 )* units_of (typeof (pi ))) === TypeUtils. NoUnits ()
679+ @test @inferred (units_of (0x01 )/ units_of (typeof (pi ))) === TypeUtils. NoUnits ()
680+ @test @inferred (TypeUtils. NoUnits ()^ 2 ) === TypeUtils. NoUnits ()
681+ @test @inferred (TypeUtils. NoUnits ()^ (1 // 2 )) === TypeUtils. NoUnits ()
682+ @test @inferred (TypeUtils. NoUnits ()^ 0.25 ) === TypeUtils. NoUnits ()
683+ @test @inferred (TypeUtils. NoUnits ()^ 2 ) === TypeUtils. NoUnits ()
684+ @test @inferred (sqrt (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
685+ @test @inferred (cbrt (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
686+ @test @inferred (inv (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
687+ @test @inferred (conj (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
688+ @test @inferred (adjoint (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
689+ @test @inferred (transpose (TypeUtils. NoUnits ())) === TypeUtils. NoUnits ()
676690 @test @inferred (units_of (3 u " km/s" )) === u " km/s"
677691 @test @inferred (units_of (typeof (3 u " μm/s" ))) === u " μm/s"
678692 @test @inferred (units_of (u " mm/s" )) === u " mm/s"
0 commit comments