Sha256: 70e1d2cec545427e8566c3dcc7b8c1793e23428a64c0d4cffea7e151c643d414
Contents?: true
Size: 421 Bytes
Versions: 22
Compression:
Stored size: 421 Bytes
Contents
require 'gir_ffi_test_helper' require 'gir_ffi/variable_name_generator' describe GirFFI::VariableNameGenerator do describe "#new_var" do it "generates a sequence of predictable variable names" do gen = GirFFI::VariableNameGenerator.new assert_equal "_v1", gen.new_var assert_equal "_v2", gen.new_var assert_equal "_v3", gen.new_var assert_equal "_v4", gen.new_var end end end
Version data entries
22 entries across 22 versions & 1 rubygems