Did I find the right examples for you? yes no

gristle.field_math.GetDictMedian

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
```Calculates a median number for a dictionary of numbers.
This has been designed as a class with a set of private functions mostly
to help with testing.
```

```        self.dict_4a  = 1

self.mymed         =  mod.GetDictMedian()

def test_math_a02_dicts(self):
```
```    def setup_method(self, method):
self.mymed         =  mod.GetDictMedian()

def test_math_b01_emptiness(self):
self.dict_1        = {}
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
self.list_1        = []
self.list_1a       = []
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
def test_math_d01(self):
assert self.mymed._get_median_subs(0) == (0,0)
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
self.med_1         = [(1,1),(4,1),(4,1)]
self.med_2         = [(1,1),(4,1),(8,1)]
```

```        self.dict_4a  = 1

self.mymed         =  mod.GetDictMedian()

def test_math_a02_dicts(self):
```
```    def setup_method(self, method):
self.mymed         =  mod.GetDictMedian()

def test_math_b01_emptiness(self):
self.dict_1        = {}
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
self.list_1        = []
self.list_1a       = []
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
def test_math_d01(self):
assert self.mymed._get_median_subs(0) == (0,0)
```
```    def setup_method(self, method):
# suffix of 'a' indicates the answer
self.mymed         =  mod.GetDictMedian()
self.med_1         = [(1,1),(4,1),(4,1)]
self.med_2         = [(1,1),(4,1),(8,1)]
```