Files

11 lines
265 B
C++
Raw Permalink Normal View History

2026-08-11 17:40:36 +03:00
#include "custom_formatter.hpp"
#include <gtest/gtest.h>
TEST(CustomFormatter, FormatPoint) {
EXPECT_EQ(cpp26::format_point({3, 4}), "(3, 4)");
}
TEST(CustomFormatter, FormatPoints) {
EXPECT_EQ(cpp26::format_points({1, 2}, {3, 4}), "(1, 2) -> (3, 4)");
}