Skip to content

Commit

Permalink
fix capitalization in a title
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Nov 24, 2024
1 parent 53922d3 commit 0bb48c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ public void testMathFunctions(SessionFactoryScope scope) {
session.createQuery("select round(cast(e.theDouble as BigDecimal), 3) from EntityOfBasics e", BigDecimal.class)
.list();
assertThat( session.createQuery("select round(1.2345bd, 2)").getSingleResult(),
isOneOf(BigDecimal.valueOf(1.23), BigDecimal.valueOf(1.2300)) );
isOneOf(BigDecimal.valueOf(1.23), BigDecimal.valueOf(12300,4)) );
assertThat( session.createQuery("select abs(-2)", Integer.class).getSingleResult(), is(2) );
assertThat( session.createQuery("select sign(-2)", Integer.class).getSingleResult(), is(-1) );
assertThat(
Expand Down

0 comments on commit 0bb48c1

Please sign in to comment.