class_docstr: Unit test for posterior sampling with Gaussian likelihood and Gaussian prior
class_docstr_tok: ["Unit","test","for","posterior","sampling","with","Gaussian","likelihood","and","Gaussian","prior"]
docstr: Sets up unit tests. 
docstr_tok: ["Sets","up","unit","tests","."]
code: def setUp(self):
      """Sets up unit tests."""
      self.size = 1000
      self.threshold = 0.01
      self.data = np.random.normal(5, 2, 1000)
      self.m = 0
      self.tau = 4
      self.prior = Normal(self.m, self.tau)
      self.var = 2
  
file_path: dragonfly/dragonfly/distributions/unittest_posterior.py
imports: from __future__ import absolute_import
  from __future__ import division
  import unittest
  import numpy
  from .continuous import Normal
  from .model import Model
  from ..utils.base_test_class import BaseTestClass, execute_tests
label_desc: Use image node_id 1 for calling the PosteriorTestCase obj's underlying member method code with example usage: obj.setUp() without return types