Sha256: e1ebef2bfe0e036de325fed88109a060833868a29448142af2b2d8b73acdbd7e

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# -*- coding: utf-8 -*-

require File.expand_path( File.join(File.dirname(__FILE__), "..", "spec_helper") )

describe "TCNumeric" do

  it "test_simple" do
    expect(10.with_separator).to be == "10"
    expect(10.0.with_separator).to be == "10.0"
    expect(1000000.with_separator).to be == "1,000,000"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tree.rb-0.3.13 spec/tree_rb/extension_numeric_spec.rb