IACore v1.2

This commit is contained in:
2026-01-25 22:55:24 +05:30
commit 49340eaa7b
95 changed files with 10182 additions and 0 deletions

41
Tests/Unit/Main.cpp Normal file
View File

@ -0,0 +1,41 @@
// IACore-OSS; The Core Library for All IA Open Source Projects
// Copyright (C) 2026 IAS (ias@iasoft.dev)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <IACore/IACore.hpp>
#include <IACore/IATest.hpp>
#include <IACore/SocketOps.hpp>
using namespace IACore;
IACORE_MAIN() {
(void)args;
OX_TRY_PURE(SocketOps::initialize());
std::cout
<< console::GREEN
<< "\n===============================================================\n";
std::cout << " IACore (Independent Architecture Core) - Unit Test Suite\n";
std::cout
<< "===============================================================\n"
<< console::RESET << "\n";
Const<i32> result = Test::TestRegistry::run_all();
SocketOps::terminate();
return result;
}