#!/bin/sh

# Author: Lance Lin <LQi254@protonmail.com>
# Last-Update: 27 June 2024
# File: run-unit-test
# Purpose: run the built-in unit test framework for toml11

# test build directions from upstream github page
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=11 -DTOML11_BUILD_TOML_TESTS=ON
make
make test
