def test_throw_die_26_57(self): a = Agent("1", "",0.98, 0.7, 0.5, 0.1) die = a.throw_die(0.26,0.57) assert( 0.26 <= die <= 0.57 )
def test_throw_die_0_100(self): a = Agent("1", "",0.98, 0.7, 0.5, 0.1) die = a.throw_die(0,1) assert( 0 <= die <= 1 )
def test_throw_die_26_57(self): a = Agent("1", "",0.98, 0.7, 0.5, 0.1) die = a.throw_die(0.26,0.57) assert( 0.26 <= die <= 0.57 )
def test_throw_die_0_100(self): a = Agent("1", "",0.98, 0.7, 0.5, 0.1) die = a.throw_die(0,1) assert( 0 <= die <= 1 )