ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux server378.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Current Path : /opt/cpanel/ea-ruby27/root/lib64/ruby/ruby-2.7.8/mathn/integer/ |
| Current File : //opt/cpanel/ea-ruby27/root/lib64/ruby/ruby-2.7.8/mathn/integer/from_prime_division_spec.rb |
require_relative '../../../spec_helper'
ruby_version_is ''...'2.5' do
require 'mathn'
describe "Integer.from_prime_division" do
it "reverses a prime factorization of an integer" do
Integer.from_prime_division([[2, 1], [3, 2], [7, 1]]).should == 126
end
end
end