SimPHash/Src/Test/Test.mq5
2026-06-28 10:43:20 -05:00

30 lines
1.2 KiB
MQL5

//+------------------------------------------------------------------+
//| Test.mq5 |
//| Copyright 2026, Niquel Mendoza. |
//| https://www.mql5.com/ |
//+------------------------------------------------------------------+
#property copyright "Copyright 2026, Niquel Mendoza."
#property link "https://www.mql5.com/"
#property version "1.00"
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
#include "Out.mqh"
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//--- Valid
Print(TSN::HashCustom("CINCO"));
Print(TSN::HashCustom("CUATRO"));
Print(TSN::HashCustom("TRES"));
Print(TSN::HashCustom("DOS"));
// Invalid
Print(TSN::HashCustom("CIaNCO"));
Print(TSN::HashCustom("CUATROa"));;
}
//+------------------------------------------------------------------+