def test_nodes_and_weights_5(self): x_5, w_5 = lg(5) assert_almost_equal(x_5, x_i[5], decimal=6) assert_almost_equal(w_5, w_i[5], decimal=6)
def test_nodes_and_weights_3(self): x_3, w_3 = lg(3) assert_almost_equal(x_3, x_i[3], decimal=6) assert_almost_equal(w_3, w_i[3], decimal=6)
def test_nodes_and_weights_4(self): x_4, w_4 = lg(4) assert_almost_equal(x_4, x_i[4], decimal=6) assert_almost_equal(w_4, w_i[4], decimal=6)
def test_nodes_and_weights_2(self): x_2, w_2 = lg(2) assert_almost_equal(x_2, x_i[2], decimal=6) assert_almost_equal(w_2, w_i[2], decimal=6)