Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Nov 17, 2024
1 parent 18e0a77 commit c116a45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/big.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ end
@testset "$T" for T in [BigInt, BigFloat, Rational{BigInt}]
MA.Test.int_test(T)
@testset "Allocation" begin
allocation_test(+, T, MA.add!!, MA.add_to!!, T <: Rational ? 192 : 0)
allocation_test(+, T, MA.add!!, MA.add_to!!, T <: Rational ? 224 : 0)
allocation_test(-, T, MA.sub!!, MA.sub_to!!, T <: Rational ? 168 : 0)
allocation_test(*, T, MA.mul!!, MA.mul_to!!, T <: Rational ? 240 : 0)
allocation_test(*, T, MA.mul!!, MA.mul_to!!, T <: Rational ? 280 : 0)
add_sub_mul_test(MA.add_mul, T)
add_sub_mul_test(MA.sub_mul, T)
if T <: Rational # https://github.com/jump-dev/MutableArithmetics.jl/issues/167
Expand All @@ -56,7 +56,7 @@ end
T,
MA.add!!,
MA.add_to!!,
192,
224,
a = T(1 // 2),
b = T(3 // 2),
c = T(5 // 2),
Expand Down

0 comments on commit c116a45

Please sign in to comment.