Sha256: 4c76fc585992aa102dd7f7b8cfab549a06983bb94be51ef60e9c0dd49de455bd

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

# Copyright (c) 2020 Jean-Sebastien Gelinas, see LICENSE.txt
# frozen_string_literal: true

require 'test_helper'

class ::TestUtils < ::Test::Unit::TestCase
  def test_image_signature
    input, = get_png_data('simple_no_margin.png')
    signature = ::TilesetTooling::Utils.image_signature(input)
    assert_equal('7a61e5c691289afc9d6eb50b52ac7cac05241271775d20233e07ec431e24c9c7', signature)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tileset_tooling-0.1.0 test/utils_test.rb
tileset_tooling-0.0.2 test/utils_test.rb