Skip to content

Commit

Permalink
Passed in wrong values for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery-Wasty committed Apr 4, 2024
1 parent 7126302 commit a4f2c8e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ private static long getTime(Timestamp time) {
@Test
public void testMoneyWithBulkCopy() throws Exception {
try (Connection conn = PrepUtil.getConnection(connectionString)) {
testMoneyLimits(Constants.MIN_VALUE_SMALLMONEY, Constants.MAX_VALUE_MONEY - 1, conn); // SMALLMONEY MIN
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY, Constants.MAX_VALUE_MONEY - 1, conn); // SMALLMONEY MAX
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY - 1, Constants.MIN_VALUE_MONEY, conn); // MONEY MIN
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY - 1, Constants.MAX_VALUE_MONEY, conn); // MONEY MAX
testMoneyLimits(Constants.MIN_VALUE_SMALLMONEY - 1, Constants.MAX_VALUE_MONEY - 1, conn); // 1 less than SMALLMONEY MIN
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY + 1, Constants.MAX_VALUE_MONEY - 1, conn); // 1 more than SMALLMONEY MAX
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY - 1, Constants.MIN_VALUE_MONEY - 1, conn); // 1 less than MONEY MIN
testMoneyLimits(Constants.MAX_VALUE_SMALLMONEY - 1, Constants.MAX_VALUE_MONEY + 1, conn); // 1 more than MONEY MAX
}
}

Expand Down

0 comments on commit a4f2c8e

Please sign in to comment.