Files
jtest/main.cpp

41 lines
902 B
C++

//
// Created by dawsh on 6/16/24.
//
#include <cassert>
#include "include/jtest/jtest.hpp"
// TODO: Provide introspection insofar as which assertion check failed.
// TODO: Provide alternate checks (google test has specific assertations for handling floats, for example) (Are these actually necessary??)
// TODO: Implement log-file-specification-capability in jlog so we can log to test_results.txt specifically.
// TODO: Provide benchmarking on test running-time
int main(int argc, char** argv)
{
TEST("Test1", []{
jtest::check(2+2 == 4);
});
TEST("Test2", [] {
//jtest::check(2+2 == 5);
jtest::check(2+2 == 4);
});
TEST("Test3", []
{
jtest::check(6+9 == 69);
//jtest::check(2+2 == 4);
});
/*
TEST("LMAO");
TEST("KEKERINO")
TEST(":)")
*/
// Doesn't actually do anything yet
jtest::run_tests();
}