def METHOD_NAME(self):
    """Check calculation of conditional joint P(A,B|C)"""
    A_given_B = DiscreteConditional(A, [B], "1/3 3/1")
    B_given_C = DiscreteConditional(B, [C], "1/3 3/1")
    # P(A,B|C) = P(A|B)P(B|C) = P(B|C)P(A|B)
    for actual in [A_given_B * B_given_C, B_given_C * A_given_B]:
        self.assertEqual(2, actual.nrFrontals())
        self.assertEqual(1, actual.nrParents())
        for v, value in actual.enumerate():
            self.assertAlmostEqual(actual(v), A_given_B(v) * B_given_C(v))