]> gitweb.michael.orlitzky.com - octave.git/blob - tests/poisson_matrix_tests.m
Move all of the tests into a subdirectory.
[octave.git] / tests / poisson_matrix_tests.m
1 expected_A = [-1, 0, 0, 0, 0; ...
2 -16, 32, -16, 0, 0; ...
3 0, -16, 32, -16, 0; ...
4 0, 0, -16, 32, -16; ...
5 0, 0, 0, 0, -1];
6
7 unit_test_equals("Homework #1 problem #1 Poisson matrix is correct", ...
8 true, ...
9 expected_A == poisson_matrix(4, 0, 1));