Initial generics

This commit is contained in:
Steve Cook
2023-03-01 22:08:12 -05:00
parent 26325928e7
commit a9bc58108c
65 changed files with 1013 additions and 883 deletions

View File

@@ -156,12 +156,12 @@ fn test_get_row() {
// Should allocate
let array = matrix.getRow(2);
assert_eq!(102, array.getSize());
assert_eq!(102, array.get_size());
// Should reallocate
// let mut array2 = BitArray::with_size(60);
let array2 = matrix.getRow(2);
assert_eq!(102, array2.getSize());
assert_eq!(102, array2.get_size());
// Should use provided object, with original BitArray size
// let mut array3 = BitArray::with_size(200);