Sha256: e7c3b3160a9ac3e2f88194d886b61343cf4ede317c79a74522f24df8ed1f8e55
Contents?: true
Size: 259 Bytes
Versions: 18
Compression:
Stored size: 259 Bytes
Contents
require 'spec_helper' describe Dydx::Algebra::Operator::Parts::Base do it{ expect((:x + :x).to_s).to eq('( 2 * x )') } it{ expect((:x - :x).to_s).to eq('0') } it{ expect((:x * :x).to_s).to eq('( x ^ 2 )') } it{ expect((:x / :x).to_s).to eq('1') } end
Version data entries
18 entries across 18 versions & 1 rubygems