old_contents: """Tests for trigrams.py moduel."""
  
  
  test_string = "I Wish I may I wish I might"
  
  
  test_list = ["sddf", "dfsfs", "sdgsdf", "word", "another", "blue", "orange"]
  
  
  def test_make_list():
      """Test whether function makes list."""
      from trigrams import make_baselist, sentence
      new_list = make_baselist(sentence)
      assert type(new_list) == list
  
  
  def test_make_bigrams():
      """Test whether function makes bigram."""
      from trigrams import make_bigram
      new_bigram = make_bigram(test_list)
      assert len(new_bigram[1].split()) == 2
  
new_contents: """Tests for trigrams.py moduel."""
  
  
  test_string = "I Wish I may I wish I might"
  
  
  test_list = ["sddf", "dfsfs", "sdgsdf", "word", "another", "blue", "orange"]
  
  
  def test_make_list():
      """Test whether function makes list."""
      from trigrams import make_baselist, sentence
      new_list = make_baselist(sentence)
      assert type(new_list) == list
  
  
  def test_make_bigrams():
      """Test whether function makes bigram."""
      from trigrams import make_bigram
      new_bigram = make_bigram(test_list)
      assert len(new_bigram[1].split()) == 2
  
  
  def test_all_bigrams():
      """Test whether all indexes of bigram list are bigrams."""
      from trigrams import make_bigram
      new_bigram = make_bigram(test_list)
      result = True
      for item in new_bigram:
          if len(item.split()) != 2:
              result = False
              break
      assert result
  
subject: test whether all bigrams are bigrams