chore: update tests

This commit is contained in:
Nick Fisher
2024-09-27 15:06:02 +08:00
parent 0876a91e17
commit ff7c582157
6 changed files with 565 additions and 44 deletions

View File

@@ -55,7 +55,6 @@ extension on Uri {
String get name => pathSegments.where((e) => e != '').last;
}
late String testDir;
Future<Uint8List> savePixelBufferToBmp(
Uint8List pixelBuffer, int width, int height, String outputPath) async {
@@ -66,7 +65,9 @@ Future<Uint8List> savePixelBufferToBmp(
}
class TestHelper {
late Directory outDir;
late String testDir;
TestHelper(String dir) {
final packageUri = findPackageRoot('thermion_dart');