Sha256: 5b80026d59b5b678daf2b59ab7782f71e206adf4d5e87f2707e0128f1d1e591d

Contents?: true

Size: 527 Bytes

Versions: 11

Compression:

Stored size: 527 Bytes

Contents

require 'spec_helper'

describe Net::NTLM::Int64LE do

  int_values = {
      :default     => 5294967295,
      :default_hex => [5294967295 & 0x00000000ffffffff, 5294967295 >> 32].pack("V2"),
      :alt         => 5294967294,
      :alt_hex     => [5294967294 & 0x00000000ffffffff, 5294967294 >> 32].pack("V2"),
      :small       => "\x5C\x24\x10\x0f",
      :size        => 8,
      :bits        => 64
  }


  it_behaves_like 'a field', 252716124, false
  it_behaves_like 'an integer field', int_values

end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rubyntlm-0.6.1/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
rubyntlm-0.6.1 spec/lib/net/ntlm/int64_le_spec.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/int64_le_spec.rb
rubyntlm-0.6.0 spec/lib/net/ntlm/int64_le_spec.rb