Sha256: 179853811c09c2d30b786ea08a194340b11961d4919523b689cbf8909bdaf628
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' describe Danica::Wrapper::Constant do subject do Danica::Wrapper::Constant.new(gnuplot: 'pi', latex: '\pi', value: 3.141592) end let(:output) do { tex: '\pi', gnu: 'pi', f: 3.141592 } end describe 'outputs' do it do output.each do |format, expected| expect(subject.to(format)).to eq(expected) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems