public void FloatSignalEmit() { tlog.Debug(tag, $"FloatSignalEmit START"); var currentPid = global::System.Diagnostics.Process.GetCurrentProcess().Id; var currentTid = global::System.Threading.Thread.CurrentThread.ManagedThreadId; tlog.Debug(tag, $"thread check! main pid={App.mainPid}, current pid={currentPid}, main tid={App.mainTid}, current tid={currentTid}"); var testingTarget = new FloatSignal(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <FloatSignal>(testingTarget, "Should be an Instance of FloatSignal!"); try { testingTarget.Emit(3.0f); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"FloatSignalEmit END (OK)"); }