Initial Course
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#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)");
|
||||
}
|
||||
Reference in New Issue
Block a user