20 lines
445 B
Plaintext
20 lines
445 B
Plaintext
import "./testdata/tests_export" as $exportData;
|
|
include "journalUtils";
|
|
include "testLib";
|
|
import "typeLib" as typeLib;
|
|
|
|
def journalUtilsTests:
|
|
expectPassed(runTest(
|
|
"invalid input to experienceByTitle";
|
|
(
|
|
{} | experienceByTitle("Test")
|
|
);
|
|
. == "experienceByTitle takes a array of experiences as input";
|
|
true
|
|
));
|
|
|
|
def testsMain:
|
|
journalUtilsTests |
|
|
typeLib::typeLibTests |
|
|
"Tests Passed\n" | halt_error(0);
|