Commit c80c392a authored by Antonio M. Caceres's avatar Antonio M. Caceres
Browse files

Rename test_ref on generated matrices.

parent 3eaa4952
Showing with 2 additions and 2 deletions
+2 -2
{"0.elements": {"test_get_all_atoms.py": ["test_get_all_atoms"], "test_grams_to_mols.py": ["test_grams_to_mols"], "test_molar_mass.py": ["test_molar_mass"]}, "1.balancing": {"test_balance.py": ["test_check_balance_equation"], "test_make_atom_vector.py": ["test_make_atom_vector"], "test_make_compound_matrix.py": ["test_make_compound_matrix"], "test_make_dictionary_solution.py": ["test_make_dictionary_solution"], "test_make_dummy_equation.py": ["test_make_dummy_equation"], "test_make_system_of_equations.py": ["test_make_system_of_equations"], "test_scale_solution.py": ["test_scale_solution"]}, "2.matrix_operations": {"test_negate_matrix.py": ["test_negate_matrix"], "test_transpose_matrix.py": ["test_transpose_matrix"]}, "3.gaussian_elimination": {"test_back_substitute.py": ["test_back_substitute"], "test_gaussian_elimination.py": ["test_gaussian_elimination"], "test_pivot_matrix.py": ["test_pivot_matrix"], "test_ref.py": ["test_ref_zero_row", "test_ref"], "test_scale_matrix.py": ["test_scale_matrix"]}, "4.limiting_reactant": {"test_limiting_reactant.py": ["test_limiting_reactant"], "test_ratio.py": ["test_ratio"]}, "5.theoretical_yield": {"test_theoretical_yield.py": ["test_theoretical_yield"]}}
{"0.elements": {"test_get_all_atoms.py": ["test_get_all_atoms"], "test_grams_to_mols.py": ["test_grams_to_mols"], "test_molar_mass.py": ["test_molar_mass"]}, "1.balancing": {"test_balance.py": ["test_check_balance_equation"], "test_make_atom_vector.py": ["test_make_atom_vector"], "test_make_compound_matrix.py": ["test_make_compound_matrix"], "test_make_dictionary_solution.py": ["test_make_dictionary_solution"], "test_make_dummy_equation.py": ["test_make_dummy_equation"], "test_make_system_of_equations.py": ["test_make_system_of_equations"], "test_scale_solution.py": ["test_scale_solution"]}, "2.matrix_operations": {"test_negate_matrix.py": ["test_negate_matrix"], "test_transpose_matrix.py": ["test_transpose_matrix"]}, "3.gaussian_elimination": {"test_back_substitute.py": ["test_back_substitute"], "test_gaussian_elimination.py": ["test_gaussian_elimination"], "test_pivot_matrix.py": ["test_pivot_matrix"], "test_ref.py": ["test_ref_zero_row", "test_ref_large_matrix"], "test_scale_matrix.py": ["test_scale_matrix"]}, "4.limiting_reactant": {"test_limiting_reactant.py": ["test_limiting_reactant"], "test_ratio.py": ["test_ratio"]}, "5.theoretical_yield": {"test_theoretical_yield.py": ["test_theoretical_yield"]}}
......@@ -39,7 +39,7 @@ def test_ref_zero_row():
@pytest.mark.parametrize('matrix', apply_names('ref', [False], generate_random_refable_matrices(k=7)))
def test_ref(matrix: MutableRationalMatrix2D):
def test_ref_large_matrix(matrix: MutableRationalMatrix2D):
correct = ref_ref(matrix.mutable())
out = ref(matrix.mutable())
assert correct == out
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment