|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive test suite for DynMatrix<T> More...
#include <gtest/gtest.h>#include <string>#include <memory>#include <vector>#include <limits>#include <stdexcept>#include <type_traits>#include <utility>#include <cmath>#include <tpl_dynMat.H>#include <ahFunctional.H>Go to the source code of this file.
Classes | |
| struct | SmallIntMatrix |
| Fixture with a small integer matrix. More... | |
| struct | FilledMatrix |
| Fixture with a pre-filled matrix. More... | |
| struct | SquareMatrix |
| Fixture with a square matrix. More... | |
| struct | Counted |
| Type that counts constructions/destructions. More... | |
Functions | |
| TEST (DynMatrix, default_constructor_creates_empty_matrix) | |
| TEST (DynMatrix, parametrized_constructor_creates_correct_dimensions) | |
| TEST (DynMatrix, parametrized_constructor_with_custom_default_value) | |
| TEST (DynMatrix, constructor_throws_on_zero_dimensions) | |
| TEST (DynMatrix, constructor_with_various_types) | |
| TEST_F (FilledMatrix, copy_constructor_creates_independent_copy) | |
| TEST (DynMatrix, copy_constructor_empty_matrix) | |
| TEST_F (SmallIntMatrix, copy_constructor_sparse_matrix) | |
| TEST_F (FilledMatrix, move_constructor_transfers_ownership) | |
| TEST (DynMatrix, move_constructor_empty_matrix) | |
| TEST (DynMatrix, move_constructor_is_noexcept) | |
| TEST_F (FilledMatrix, copy_assignment_replaces_contents) | |
| TEST_F (FilledMatrix, copy_assignment_self_assignment_is_safe) | |
| TEST (DynMatrix, copy_assignment_different_dimensions) | |
| TEST_F (FilledMatrix, move_assignment_transfers_ownership) | |
| TEST (DynMatrix, move_assignment_is_noexcept) | |
| TEST (DynMatrix, swap_exchanges_contents) | |
| TEST (DynMatrix, swap_with_empty_matrix) | |
| TEST (DynMatrix, swap_is_noexcept) | |
| TEST_F (SmallIntMatrix, rows_returns_correct_value) | |
| TEST_F (SmallIntMatrix, cols_returns_correct_value) | |
| TEST_F (SmallIntMatrix, size_returns_product_of_dimensions) | |
| TEST (DynMatrix, is_square_true_for_square_matrix) | |
| TEST (DynMatrix, is_square_false_for_non_square_matrix) | |
| TEST (DynMatrix, is_empty_true_for_default_constructed) | |
| TEST_F (SmallIntMatrix, is_empty_false_for_initialized_matrix) | |
| TEST_F (SmallIntMatrix, write_and_read_single_entry) | |
| TEST_F (SmallIntMatrix, read_unwritten_entry_returns_default) | |
| TEST_F (SmallIntMatrix, write_returns_reference_to_entry) | |
| TEST_F (SmallIntMatrix, read_throws_on_out_of_bounds) | |
| TEST_F (SmallIntMatrix, write_throws_on_out_of_bounds) | |
| TEST_F (SmallIntMatrix, read_ne_no_bounds_check) | |
| TEST (DynMatrix, write_with_move_semantics) | |
| TEST_F (SmallIntMatrix, access_after_allocate) | |
| TEST_F (SmallIntMatrix, access_const_version) | |
| TEST_F (FilledMatrix, operator_parens_read_write) | |
| TEST_F (SmallIntMatrix, fill_sets_all_entries) | |
| TEST (DynMatrix, fill_overwrites_existing_values) | |
| TEST_F (FilledMatrix, transpose_swaps_dimensions) | |
| TEST_F (FilledMatrix, transpose_swaps_values) | |
| TEST_F (SquareMatrix, transpose_diagonal_unchanged) | |
| TEST (DynMatrix, transpose_sparse_matrix) | |
| TEST_F (FilledMatrix, set_dimension_clears_data) | |
| TEST_F (SmallIntMatrix, set_dimension_preserves_default_value) | |
| TEST_F (SmallIntMatrix, set_default_initial_value) | |
| TEST (DynMatrix, default_value_affects_unwritten_reads) | |
| TEST (DynMatrix, changing_default_affects_future_reads) | |
| TEST (DynMatrix, equality_same_matrices) | |
| TEST (DynMatrix, equality_different_dimensions) | |
| TEST (DynMatrix, equality_different_values) | |
| TEST_F (FilledMatrix, equality_with_copy) | |
| TEST_F (SmallIntMatrix, iterator_basic_traversal) | |
| TEST_F (FilledMatrix, iterator_visits_in_row_major_order) | |
| TEST_F (SmallIntMatrix, iterator_get_curr_throws_when_exhausted) | |
| TEST_F (SmallIntMatrix, iterator_next_throws_when_exhausted) | |
| TEST_F (SmallIntMatrix, iterator_reset) | |
| TEST_F (FilledMatrix, traverse_visits_all_elements) | |
| TEST_F (FilledMatrix, traverse_can_stop_early) | |
| TEST_F (SmallIntMatrix, traverse_on_sparse_matrix) | |
| TEST_F (SmallIntMatrix, traverse_allocated_visits_allocated_blocks) | |
| TEST_F (FilledMatrix, for_each_visits_all) | |
| TEST_F (FilledMatrix, all_returns_true_when_all_match) | |
| TEST_F (FilledMatrix, all_returns_false_when_any_fails) | |
| TEST_F (FilledMatrix, exists_returns_true_when_found) | |
| TEST_F (FilledMatrix, exists_returns_false_when_not_found) | |
| TEST_F (FilledMatrix, foldl_accumulates) | |
| TEST (DynMatrix, type_aliases_are_correct) | |
| TEST (DynMatrix, destructor_frees_all_memory) | |
| TEST (DynMatrix, allocate_reserves_all_entries) | |
| TEST (DynMatrix, single_element_matrix) | |
| TEST (DynMatrix, single_row_matrix) | |
| TEST (DynMatrix, single_column_matrix) | |
| TEST (DynMatrix, very_sparse_matrix) | |
| TEST (DynMatrix, stress_large_matrix) | |
| TEST (DynMatrix, stress_copy_large_matrix) | |
| TEST (DynMatrix, floating_point_matrix) | |
| TEST (DynMatrix, string_matrix) | |
| TEST (DynMatrix, regression_equality_different_shaped_same_size) | |
| TEST (DynMatrix, regression_move_assignment_returns_reference) | |
| TEST (DynMatrixSetDimension, StrongGuaranteeWhenItThrows) | |
| TEST (DynMatrixMove, ADefaultValueThatCannotBeBuiltLeavesTheMatricesAsTheyWere) | |
| TEST (DynMatrixMove, TheMatrixThatWasMovedFromIsAsOneBuiltByDefault) | |
| TEST (DynMatrixMove, ASwapOfTheDefaultValuesThatThrowsLeavesTheEntriesWhereTheyWere) | |
| TEST (DynMatrixMove, TheSwapOfTheDefaultValuesIsTheOneOfTheItem) | |
| int | main (int argc, char **argv) |
Variables | |
| constexpr size_t | SMALL_N = 3 |
| constexpr size_t | SMALL_M = 4 |
| constexpr size_t | MEDIUM_N = 10 |
| constexpr size_t | MEDIUM_M = 15 |
| constexpr size_t | LARGE_N = 100 |
Comprehensive test suite for DynMatrix<T>
This test file provides exhaustive coverage of DynMatrix functionality:
Definition in file dynmat_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1287 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| allocate_reserves_all_entries | |||
| ) |
Definition at line 898 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::allocate().
| TEST | ( | DynMatrix | , |
| changing_default_affects_future_reads | |||
| ) |
Definition at line 620 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::set_default_initial_value().
| TEST | ( | DynMatrix | , |
| constructor_throws_on_zero_dimensions | |||
| ) |
Definition at line 193 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| constructor_with_various_types | |||
| ) |
Definition at line 200 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::rows().
| TEST | ( | DynMatrix | , |
| copy_assignment_different_dimensions | |||
| ) |
Definition at line 309 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::rows().
| TEST | ( | DynMatrix | , |
| copy_constructor_empty_matrix | |||
| ) |
Definition at line 233 of file dynmat_test.cc.
References Aleph::copy().
| TEST | ( | DynMatrix | , |
| default_constructor_creates_empty_matrix | |||
| ) |
Definition at line 164 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::is_empty(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::size().
| TEST | ( | DynMatrix | , |
| default_value_affects_unwritten_reads | |||
| ) |
Definition at line 612 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read().
| TEST | ( | DynMatrix | , |
| destructor_frees_all_memory | |||
| ) |
Definition at line 882 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::allocate(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| equality_different_dimensions | |||
| ) |
Definition at line 645 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| equality_different_values | |||
| ) |
Definition at line 654 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| equality_same_matrices | |||
| ) |
Definition at line 636 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| fill_overwrites_existing_values | |||
| ) |
Definition at line 526 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::fill(), Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| floating_point_matrix | |||
| ) |
Definition at line 1008 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| is_empty_true_for_default_constructed | |||
| ) |
Definition at line 412 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::is_empty().
| TEST | ( | DynMatrix | , |
| is_square_false_for_non_square_matrix | |||
| ) |
Definition at line 406 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::is_square().
| TEST | ( | DynMatrix | , |
| is_square_true_for_square_matrix | |||
| ) |
Definition at line 400 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::is_square().
| TEST | ( | DynMatrix | , |
| move_assignment_is_noexcept | |||
| ) |
Definition at line 336 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| move_constructor_empty_matrix | |||
| ) |
Definition at line 272 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::is_empty().
| TEST | ( | DynMatrix | , |
| move_constructor_is_noexcept | |||
| ) |
Definition at line 280 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| parametrized_constructor_creates_correct_dimensions | |||
| ) |
Definition at line 173 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::is_empty(), Aleph::DynMatrix< T >::is_square(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::size().
| TEST | ( | DynMatrix | , |
| parametrized_constructor_with_custom_default_value | |||
| ) |
Definition at line 184 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::get_default_value(), and Aleph::DynMatrix< T >::read().
| TEST | ( | DynMatrix | , |
| regression_equality_different_shaped_same_size | |||
| ) |
Definition at line 1038 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| regression_move_assignment_returns_reference | |||
| ) |
Definition at line 1047 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| single_column_matrix | |||
| ) |
Definition at line 940 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| single_element_matrix | |||
| ) |
Definition at line 915 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::is_square(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::size().
| TEST | ( | DynMatrix | , |
| single_row_matrix | |||
| ) |
Definition at line 926 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::is_square(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| stress_copy_large_matrix | |||
| ) |
Definition at line 989 of file dynmat_test.cc.
References Aleph::copy(), LARGE_N, and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| stress_large_matrix | |||
| ) |
Definition at line 972 of file dynmat_test.cc.
References LARGE_N, Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| string_matrix | |||
| ) |
Definition at line 1021 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| swap_exchanges_contents | |||
| ) |
Definition at line 345 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), Aleph::DynMatrix< T >::swap(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| swap_is_noexcept | |||
| ) |
Definition at line 375 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::swap().
| TEST | ( | DynMatrix | , |
| swap_with_empty_matrix | |||
| ) |
Definition at line 364 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::is_empty(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::swap().
| TEST | ( | DynMatrix | , |
| transpose_sparse_matrix | |||
| ) |
Definition at line 566 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::transpose(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| type_aliases_are_correct | |||
| ) |
Definition at line 869 of file dynmat_test.cc.
| TEST | ( | DynMatrix | , |
| very_sparse_matrix | |||
| ) |
Definition at line 953 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrix | , |
| write_with_move_semantics | |||
| ) |
Definition at line 469 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::read(), value, and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrixMove | , |
| ADefaultValueThatCannotBeBuiltLeavesTheMatricesAsTheyWere | |||
| ) |
Definition at line 1121 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::get_default_value(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrixMove | , |
| ASwapOfTheDefaultValuesThatThrowsLeavesTheEntriesWhereTheyWere | |||
| ) |
Definition at line 1202 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), Aleph::DynMatrix< T >::swap(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrixMove | , |
| TheMatrixThatWasMovedFromIsAsOneBuiltByDefault | |||
| ) |
Definition at line 1144 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::get_default_value(), Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::rows().
| TEST | ( | DynMatrixMove | , |
| TheSwapOfTheDefaultValuesIsTheOneOfTheItem | |||
| ) |
Definition at line 1263 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), Aleph::DynMatrix< T >::swap(), and Aleph::DynMatrix< T >::write().
| TEST | ( | DynMatrixSetDimension | , |
| StrongGuaranteeWhenItThrows | |||
| ) |
Definition at line 1064 of file dynmat_test.cc.
References m.
| TEST_F | ( | FilledMatrix | , |
| all_returns_false_when_any_fails | |||
| ) |
Definition at line 838 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| all_returns_true_when_all_match | |||
| ) |
Definition at line 831 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| copy_assignment_replaces_contents | |||
| ) |
Definition at line 289 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), Aleph::DynMatrix< T >::rows(), SMALL_M, SMALL_N, and Aleph::DynMatrix< T >::write().
| TEST_F | ( | FilledMatrix | , |
| copy_assignment_self_assignment_is_safe | |||
| ) |
Definition at line 301 of file dynmat_test.cc.
References SMALL_N.
| TEST_F | ( | FilledMatrix | , |
| copy_constructor_creates_independent_copy | |||
| ) |
Definition at line 217 of file dynmat_test.cc.
References Aleph::copy(), SMALL_M, and SMALL_N.
| TEST_F | ( | FilledMatrix | , |
| equality_with_copy | |||
| ) |
Definition at line 665 of file dynmat_test.cc.
References Aleph::copy().
| TEST_F | ( | FilledMatrix | , |
| exists_returns_false_when_not_found | |||
| ) |
Definition at line 851 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| exists_returns_true_when_found | |||
| ) |
Definition at line 845 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| foldl_accumulates | |||
| ) |
Definition at line 857 of file dynmat_test.cc.
References SMALL_M, SMALL_N, and Aleph::sum().
| TEST_F | ( | FilledMatrix | , |
| for_each_visits_all | |||
| ) |
Definition at line 822 of file dynmat_test.cc.
References SMALL_M, SMALL_N, and Aleph::sum().
| TEST_F | ( | FilledMatrix | , |
| iterator_visits_in_row_major_order | |||
| ) |
Definition at line 693 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| move_assignment_transfers_ownership | |||
| ) |
Definition at line 325 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::rows().
| TEST_F | ( | FilledMatrix | , |
| move_constructor_transfers_ownership | |||
| ) |
Definition at line 258 of file dynmat_test.cc.
References Aleph::DynMatrix< T >::cols(), Aleph::DynMatrix< T >::read(), and Aleph::DynMatrix< T >::rows().
| TEST_F | ( | FilledMatrix | , |
| operator_parens_read_write | |||
| ) |
Definition at line 502 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| set_dimension_clears_data | |||
| ) |
Definition at line 583 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| transpose_swaps_dimensions | |||
| ) |
Definition at line 541 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| transpose_swaps_values | |||
| ) |
Definition at line 549 of file dynmat_test.cc.
| TEST_F | ( | FilledMatrix | , |
| traverse_can_stop_early | |||
| ) |
Definition at line 766 of file dynmat_test.cc.
References Aleph::count().
| TEST_F | ( | FilledMatrix | , |
| traverse_visits_all_elements | |||
| ) |
Definition at line 747 of file dynmat_test.cc.
References Aleph::count(), SMALL_M, SMALL_N, and Aleph::sum().
| TEST_F | ( | SmallIntMatrix | , |
| access_after_allocate | |||
| ) |
Definition at line 484 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| access_const_version | |||
| ) |
Definition at line 493 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| cols_returns_correct_value | |||
| ) |
Definition at line 390 of file dynmat_test.cc.
References SMALL_M.
| TEST_F | ( | SmallIntMatrix | , |
| copy_constructor_sparse_matrix | |||
| ) |
Definition at line 241 of file dynmat_test.cc.
References Aleph::copy().
| TEST_F | ( | SmallIntMatrix | , |
| fill_sets_all_entries | |||
| ) |
Definition at line 517 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| is_empty_false_for_initialized_matrix | |||
| ) |
Definition at line 418 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| iterator_basic_traversal | |||
| ) |
Definition at line 676 of file dynmat_test.cc.
References Aleph::count().
| TEST_F | ( | SmallIntMatrix | , |
| iterator_get_curr_throws_when_exhausted | |||
| ) |
Definition at line 710 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| iterator_next_throws_when_exhausted | |||
| ) |
Definition at line 721 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| iterator_reset | |||
| ) |
Definition at line 731 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| read_ne_no_bounds_check | |||
| ) |
Definition at line 462 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| read_throws_on_out_of_bounds | |||
| ) |
Definition at line 449 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| read_unwritten_entry_returns_default | |||
| ) |
Definition at line 434 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| rows_returns_correct_value | |||
| ) |
Definition at line 385 of file dynmat_test.cc.
References SMALL_N.
| TEST_F | ( | SmallIntMatrix | , |
| set_default_initial_value | |||
| ) |
Definition at line 605 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| set_dimension_preserves_default_value | |||
| ) |
Definition at line 593 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| size_returns_product_of_dimensions | |||
| ) |
Definition at line 395 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| traverse_allocated_visits_allocated_blocks | |||
| ) |
Definition at line 795 of file dynmat_test.cc.
References Aleph::count(), and Aleph::sum().
| TEST_F | ( | SmallIntMatrix | , |
| traverse_on_sparse_matrix | |||
| ) |
Definition at line 780 of file dynmat_test.cc.
References Aleph::sum().
| TEST_F | ( | SmallIntMatrix | , |
| write_and_read_single_entry | |||
| ) |
Definition at line 427 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| write_returns_reference_to_entry | |||
| ) |
Definition at line 440 of file dynmat_test.cc.
| TEST_F | ( | SmallIntMatrix | , |
| write_throws_on_out_of_bounds | |||
| ) |
Definition at line 456 of file dynmat_test.cc.
| TEST_F | ( | SquareMatrix | , |
| transpose_diagonal_unchanged | |||
| ) |
Definition at line 558 of file dynmat_test.cc.
|
constexpr |
Definition at line 74 of file dynmat_test.cc.
|
constexpr |
Definition at line 73 of file dynmat_test.cc.
|
constexpr |
Definition at line 72 of file dynmat_test.cc.
|
constexpr |