hack/tests/range.cpp
2022-03-02 11:08:14 +03:00

10 lines
196 B
C++

#include <gtest/gtest.h>
#include "range/range.hpp"
TEST(within, check)
{
ASSERT_EQ(hack::within(23, 123, 34, 44, 55, 66), true);
ASSERT_EQ(hack::within(23, 123, 134, 44, 55, 66), false);
}