From 1b76d08bd1d8b6ea0fbd2a7fc905355327c42762 Mon Sep 17 00:00:00 2001 From: alexiscatnip Date: Mon, 11 Jul 2022 22:51:04 +0800 Subject: [PATCH] add region block...This setup-teardown keeps getting repeated... --- Assets/Tests/Raindrop/ImagingTests/ImagingTests.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/Tests/Raindrop/ImagingTests/ImagingTests.cs b/Assets/Tests/Raindrop/ImagingTests/ImagingTests.cs index fada27d..9ec444a 100644 --- a/Assets/Tests/Raindrop/ImagingTests/ImagingTests.cs +++ b/Assets/Tests/Raindrop/ImagingTests/ImagingTests.cs @@ -13,9 +13,12 @@ namespace Tests.Raindrop // test if the j2p decode and encode can work. // test if able to write to disk. // have to manual check the images on the disk to see if the test passes. + + public static string _inputImageSubPath = "test/menhara.jp2"; + + #region Setup, teardown private static RaindropInstance instance; public static string clientDir; - public static string _inputImageSubPath = "test/menhara.jp2"; [OneTimeSetUp] public void OneTimeSetUp() @@ -30,6 +33,7 @@ namespace Tests.Raindrop { instance.CleanUp(); } + #endregion //can read the image data from path. [Test]