Skip to content

Commit 9dc2cde

Browse files
committed
test(transform-io): add read-transform-node-test
1 parent ded6ed8 commit 9dc2cde

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import test from "ava";
2+
import path from "path";
3+
4+
import { readTransformNode } from "../../dist/index-node.js";
5+
import { testInputPath, verifyTestLinearTransform } from "./common.js";
6+
7+
const testInputFilePath = path.join(testInputPath, "LinearTransform.mat");
8+
9+
test("readTransformNode reads a fil epath given on the local filesystem", async (t) => {
10+
const transform = await readTransformNode(testInputFilePath);
11+
verifyTestLinearTransform(t, transform);
12+
});

0 commit comments

Comments
 (0)