extended_matrix 0.9.9

A matrix calculation module.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(unused_imports)]

use crate::Position;

#[test]
fn test_swap_row_and_column() {
    let mut p = Position(0, 3);

    let expected = Position(3, 0);

    p.swap_row_and_column();

    assert_eq!(p, expected);
}