Sha256: 60e033cc73ca1c865a1775a9ce607f720e5a66094edc7626e00ecd61ef05fe50
Contents?: true
Size: 529 Bytes
Versions: 10
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true require_relative '../../lib/csv_decision' describe CSVDecision::Decision do it 'decision for table with no functions and first_match: true' do data = <<~DATA IN :input, OUT :output, IN: input1 input0, output0, input1 input0, output1, DATA table = CSVDecision.parse(data) input = { input: 'input0', input1: 'input1' } decision = CSVDecision::Decision.new(table: table, input: input) expect(decision).to be_a(CSVDecision::Decision) end end
Version data entries
10 entries across 10 versions & 1 rubygems