code: def test_amazon_toy(self):
      random.seed(time.time())
      if random.random() > 0.8:
          ratings = toy.load_feedback()
          sentiments = toy.load_sentiment()
          self.assertEqual(len(ratings), 167597)
          self.assertEqual(len(sentiments), 149877)
  
imports: import unittest
  import random
  import time
  from cornac.datasets import amazon_toy
label_desc: Use image node_id 1 for calling the TestAmazonToy obj's underlying member method code with example usage: obj.test_amazon_toy() without return types