43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
using System;
|
|
using System.Windows;
|
|
using CtrEditor;
|
|
|
|
namespace CtrEditor
|
|
{
|
|
/// <summary>
|
|
/// Programa de consola simple para probar NPSH sin necesidad del UI completo
|
|
/// </summary>
|
|
public class NPSHTestProgram
|
|
{
|
|
[STAThread]
|
|
public static void Main(string[] args)
|
|
{
|
|
try
|
|
{
|
|
Console.WriteLine("NPSH VERIFICATION SYSTEM - TEST PROGRAM");
|
|
Console.WriteLine("========================================");
|
|
Console.WriteLine();
|
|
|
|
// Ejecutar todas las pruebas
|
|
NPSHTestExample.TestNPSHConfiguration();
|
|
Console.WriteLine();
|
|
|
|
// Verificar específicamente el problema original
|
|
NPSHTestExample.VerifyOriginalProblemFixed();
|
|
Console.WriteLine();
|
|
|
|
Console.WriteLine("Presiona cualquier tecla para continuar...");
|
|
Console.ReadKey();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Console.WriteLine($"ERROR durante las pruebas: {ex.Message}");
|
|
Console.WriteLine($"Stack trace: {ex.StackTrace}");
|
|
Console.WriteLine();
|
|
Console.WriteLine("Presiona cualquier tecla para salir...");
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|
|
}
|