def METHOD_NAME(test_case):
    for dtype in [
        flow.int8,
        flow.int32,
        flow.int64,
        flow.float32,
        flow.float64,
    ]:
        placement = flow.placement("cpu", ranks=[0])
        sbp = (flow.sbp.broadcast,)
        x_ = flow.randn((10, 1))
        x = flow.randint_like(x_, 0, 16, placement=placement, sbp=sbp, dtype=dtype)
        test_case.assertEqual(x.dtype, dtype)
        test_case.assertEqual(x.sbp, sbp)
        test_case.assertEqual(x.placement, placement)