extended_matrix 0.9.9

A matrix calculation module.
Documentation
#![allow(unused_imports)]

use crate::Shape;

#[test]
fn test_update() {
    let mut s = Shape(2, 3);

    let expected = Shape(3, 2);

    s.update(3, 2);

    assert_eq!(s, expected);
}

#[test]
fn test_swap_rows_and_columns_number() {
    let mut s = Shape(1, 3);

    let expected = Shape(3, 1);

    s.swap_rows_number_and_columns_number();

    assert_eq!(s, expected);
}