Guest User

Untitled

a guest
Apr 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. surfboard:jruby[git:personal]$ jruby spec/mspec/bin/mspec -T--1.9 spec/ruby/library/mathn/integer/prime_division_spec.rb
  2. jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2009-10-30 28b8827) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
  3. F.
  4.  
  5. 1)
  6. Integer#prime_division Performs a prime factorization of an integer FAILED
  7. Expected [[-1, 1], [2, 1], [13, 1]]
  8. to equal [[2, 1]]
  9.  
  10. /Users/asari/Development/src/jruby/spec/ruby/library/mathn/integer/prime_division_spec.rb:7
  11. /Users/asari/Development/src/jruby/spec/ruby/library/mathn/integer/prime_division_spec.rb:4
  12. /Users/asari/Development/src/jruby/spec/ruby/library/mathn/integer/prime_division_spec.rb:55:in `load'
  13.  
  14. Finished in 0.226000 seconds
  15.  
  16. 1 file, 2 examples, 3 expectations, 1 failure, 0 errors
  17. surfboard:jruby[git:personal]$ jruby --1.9 -v -r mathn -e 'p Prime.prime_division(2*3*5*7*11*13*17)'
  18. jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2009-10-30 28b8827) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
  19. /Users/asari/personal/jruby/lib/ruby/1.9/prime.rb:261 warning: instance variable @ubound not initialized
  20. [[2, 1], [3, 1], [5, 1], [7, 1], [11, 1], [13, 1], [17, 1]]
Add Comment
Please, Sign In to add comment