Sha256: 577d581d6433de2dd5b8174df77586448dde2a6172c62210be9d7773ec448bec

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

require 'spec_helper'

describe Danica::SquareRoot do
  it_behaves_like 'a operator with a single input value', {
    variable_value: 9,
    expected_number: 3.0,
    expected_number_text: '3',
    expected_tex: '\sqrt{X}',
    expected_gnu: 'sqrt(X)'
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danica-2.0.1 spec/lib/danica/square_root_spec.rb
danica-2.0.0 spec/lib/danica/square_root_spec.rb