Sha256: 8c6756768e2aad6cb7f9820a13c453073be41fec4a00658304b386a6fb884031
Contents?: true
Size: 504 Bytes
Versions: 11
Compression:
Stored size: 504 Bytes
Contents
require 'bundler/setup' require 'minitest/autorun' require 'combine_pdf/renderer' class CombinePDFRendererTest < Minitest::Test class TestRenderer include CombinePDF::Renderer def test_object(object) object_to_pdf(object) end end def test_numeric_array_to_pdf input = [1.234567, 0.000054, 5, -0.000099] expected = "[1.234567 0.000054 5 -0.000099]".force_encoding('BINARY') actual = TestRenderer.new.test_object(input) assert_equal(expected, actual) end end
Version data entries
11 entries across 11 versions & 1 rubygems