hack/tests/range.cpp

10 lines
215 B
C++
Raw Normal View History

2022-03-02 11:08:14 +03:00
#include <gtest/gtest.h>
2023-05-23 12:13:38 +03:00
#include "hack/range/range.hpp"
2022-03-02 11:08:14 +03:00
TEST(within, check)
{
2022-03-02 12:11:21 +03:00
ASSERT_EQ(hack::range::within(23, 123, 34, 44, 55, 66), true);
ASSERT_EQ(hack::range::within(23, 123, 134, 44, 55, 66), false);
2022-03-02 11:08:14 +03:00
}