<commit_before>=begin
 
 I want a big master bedroom.
 Well, actually, color is important to me? 
 I want bedrooms that are the exact same color.
 2 better than none, and 3 better 2
 except I don't want them all the same size.
 except really? I'd like 2 of 1 color, and 2 of another color.
=end

require 'minitest/autorun'
require './house'

class HouseTest < MiniTest::Unit::TestCase

  def setup
    bedrooms = [ Bedroom.new("blue", 600), Bedroom.new('off white', 500), Bedroom.new('fuschia', 525)]
    @house = House.new(bedrooms)
  end

  def test_house_has_bedrooms
    assert @house.bedrooms
  end

  def test_house_has_master_bedroom
    assert_equal 600, @house.master_bedroom.size
  end

  def test_house_can_have_2_matching_bedrooms
    blue_room_1 = Bedroom.new("blue", 500)
    blue_room_2 = Bedroom.new("blue", 760)
    blue_house = House.new([blue_room_1, blue_room_2])
    assert blue_house.has_2_matching_rooms?
  end

  def test_house_can_have_no_matching_bedrooms
    assert @house.has_no_matching_rooms?
  end
  
  def test_house_with_2_matching_bedrooms_better_than_no_matching_bedrooms

  end
end<commit_msg>double check 2 matching rooms<commit_after>=begin
 
 I want a big master bedroom.
 Well, actually, color is important to me? 
 I want bedrooms that are the exact same color.
 2 better than none, and 3 better 2
 except I don't want them all the same size.
 except really? I'd like 2 of 1 color, and 2 of another color.
=end

require 'minitest/autorun'
require './house'

class HouseTest < MiniTest::Unit::TestCase

  def setup
    bedrooms = [ Bedroom.new("blue", 600), Bedroom.new('off white', 500), Bedroom.new('fuschia', 525)]
    @house = House.new(bedrooms)
  end

  def test_house_has_bedrooms
    assert @house.bedrooms
  end

  def test_house_has_master_bedroom
    assert_equal 600, @house.master_bedroom.size
  end

  def test_house_can_have_2_matching_bedrooms
    blue_room_1 = Bedroom.new("blue", 500)
    blue_room_2 = Bedroom.new("blue", 760)
    blue_house = House.new([blue_room_1, blue_room_2])
    assert blue_house.has_2_matching_rooms?
  end

  def test_house_might_not_have_2_matching_rooms
    assert_equal false, @house.has_2_matching_rooms?
  end
  
  def test_house_can_have_no_matching_bedrooms
    assert @house.has_no_matching_rooms?
  end

  def test_house_with_2_matching_bedrooms_better_than_no_matching_bedrooms

  end
end
{'fraction_non_alphanumeric': 0.07637431808644565, 'fraction_numerical': 0.027276542173730593, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '466479', 'n_tokens_mistral': 889, 'n_tokens_neox': 803, 'n_words': 225}