<commit_before>require File.expand_path('../../../spec_helper', __FILE__)

describe "Integer#pred" do
  it "returns the Integer equal to self - 1" do
    0.pred.should eql(-1)
    -1.pred.should eql(-2)
    bignum_value.pred.should eql(bignum_value(-1))<commit_msg>Integer#pred: improve spec to cover fixnum_min<commit_after>require File.expand_path('../../../spec_helper', __FILE__)

describe "Integer#pred" do
  it "returns the Integer equal to self - 1" do
    0.pred.should eql(-1)
    -1.pred.should eql(-2)
    bignum_value.pred.should eql(bignum_value(-1))
    fixnum_min.pred.should eql(fixnum_min - 1)
{'fraction_non_alphanumeric': 0.14918032786885246, 'fraction_numerical': 0.021311475409836064, 'mean_word_length': 3.66412213740458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5752013', 'n_tokens_mistral': 225, 'n_tokens_neox': 219, 'n_words': 49}