class_docstr: Wrapper around GCGraph, disabling its main functionalities to enable checking of the received values.
code: def get_nweights(self):
      return self.__nweights
  
imports: import sys
  import math
  import unittest
  import scipy
  import numpy
  from numpy.testing import assert_raises
  from medpy.graphcut.energy_label import boundary_stawiaski, boundary_difference_of_means, boundary_stawiaski_directed, regional_atlas
  from medpy.graphcut.graph import GCGraph
label_desc: Use image node_id 3 for calling the GCGraphTest obj's underlying member method code with example usage: obj.get_nweights() and returns: self