doc tweaks for skin

bug fixes for is_matrix, is_vector, and new tests for same
This commit is contained in:
Adrian Mariano
2021-03-14 10:25:22 -04:00
parent 9f249d9cf3
commit 35c2d7df42
5 changed files with 44 additions and 16 deletions

View File

@@ -11,6 +11,10 @@ module test_is_vector() {
assert(is_vector(1) == false);
assert(is_vector("foo") == false);
assert(is_vector(true) == false);
assert(is_vector([3,4,"foo"]) == false);
assert(is_vector([3,4,[4,5]]) == false);
assert(is_vector([3,4,undef]) == false);
assert(is_vector(["foo","bar"]) == false);
assert(is_vector([0,0,0],zero=true) == true);
assert(is_vector([0,0,0],zero=false) == false);