Sha256: cc1691e1947940a311a13901c3c259844df60b4230c4dcc53d2ac5e1dcf5c067
Contents?: true
Size: 265 Bytes
Versions: 5
Compression:
Stored size: 265 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
5 entries across 5 versions & 1 rubygems