From f522ed9b813bd4e0af89135269940cf96bad3445 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Thu, 2 May 2024 14:19:34 +0400 Subject: [PATCH] #247 -- Fail test --- src/test/java/ru/ulstu/test/StreamApiUtilsTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java b/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java index a5ed5ef..cb08287 100644 --- a/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java +++ b/src/test/java/ru/ulstu/test/StreamApiUtilsTest.java @@ -16,4 +16,12 @@ public class StreamApiUtilsTest { assertEquals(integersInitial, integers); } + + @Test + public void filedTestMappingByDay() { + List integersInitial = List.of(1); + List integers = StreamApiUtils.convert(List.of("1", "2"), Integer::valueOf); + + assertEquals(integersInitial, integers); + } }