feat(array): add TSBaseArray<T>::MemFileName

This commit is contained in:
fallenoak 2020-12-08 19:40:26 -06:00
parent 2e82693829
commit 787618142c
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 16 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#include "storm/Array.hpp"
#include "storm/String.hpp"
#include "test/Test.hpp"
TEST_CASE("TSBaseArray", "[list]") {
@ -8,6 +9,13 @@ TEST_CASE("TSBaseArray", "[list]") {
}
}
TEST_CASE("TSBaseArray::MemFileName", "[array]") {
SECTION("returns a non-empty string") {
TSBaseArray<uint32_t> array;
REQUIRE(SStrLen(array.MemFileName()) > 0);
}
}
TEST_CASE("TSFixedArray", "[list]") {
SECTION("constructs correctly") {
TSFixedArray<uint32_t> array;