Skip to content

Commit e4ca876

Browse files
committed
Remove superfluous tests
1 parent 0415a3a commit e4ca876

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/test/json/double.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,16 @@ namespace tao
143143
{
144144
const value v = from_string( "42.0" );
145145
const auto a = v.as< double >();
146-
TEST_ASSERT( sizeof( a ) == sizeof( double ) );
147146
TEST_ASSERT( a == 42.0 );
148147
}
149148
{
150149
const value v = from_string( "42.3" );
151150
const auto a = v.as< short >();
152-
TEST_ASSERT( sizeof( a ) == sizeof( short ) );
153151
TEST_ASSERT( a == 42 );
154152
}
155153
{
156154
const value v = from_string( "42" );
157155
const auto a = v.as< double >();
158-
TEST_ASSERT( sizeof( a ) == sizeof( double ) );
159156
TEST_ASSERT( a == 42.0 );
160157
}
161158
TEST_THROWS( value( "foo" ).as< double >() );

0 commit comments

Comments
 (0)