Sha256: 2b6bd6e26003d3d9f5f703514ff0f47cf2cc6b4b5feff4f59970447c4e1bbb95
Contents?: true
Size: 822 Bytes
Versions: 8
Compression:
Stored size: 822 Bytes
Contents
require 'base_test_helper' describe GLib::Strv do describe "#==" do it "returns true when comparing to an array with the same elements" do strv = GLib::Strv.from ["1", "2", "3"] strv.must_be :==, ["1", "2", "3"] end it "returns false when comparing to an array with different elements" do strv = GLib::Strv.from ["1", "2", "3"] strv.wont_be :==, ["1", "2"] end it "returns true when comparing to a strv with the same elements" do strv = GLib::Strv.from ["1", "2", "3"] other = GLib::Strv.from ["1", "2", "3"] strv.must_be :==, other end it "returns false when comparing to a strv with different elements" do strv = GLib::Strv.from ["1", "2", "3"] other = GLib::Strv.from ["1", "2"] strv.wont_be :==, other end end end
Version data entries
8 entries across 8 versions & 1 rubygems