Skip to content

Commit

Permalink
a reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 23, 2024
1 parent a5512b8 commit 22a1348
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ void testWithTypesTransformersAndBoth()
""";
ParseInput.from(expected).withTypes(Integer.class).verifyAll(Integer::toBinaryString);
ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt)
.verifyAll(Integer::toBinaryString);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ public class Parse2InputTest
void testWithTypesTransformersAndBoth()
{
var expected = """
1,2.2 -> 2.2
1,3.3 -> 3.3
""";
1,2.2 -> 2.2
1,3.3 -> 3.3
""";
ParseInput.from(expected).withTypes(Integer.class, Double.class).verifyAll(t -> t.getFirst() * t.getSecond());
// TODO: continue here
// ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
// ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
// ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
// ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString);
}
}

0 comments on commit 22a1348

Please sign in to comment.