Back to the previous page
| Test Case ID | 1531 |
| Bad / Good / Mixed | Bad |
| Author | DRDC |
| Associations | Test suite: 62 |
| Added by | Jeff Meister |
| Language | C++ |
| Type of test case | Source Code |
| Input string | |
| Expected Output | |
| Instructions | |
| Submission date | 2006-06-09 |
| Description | A value is casted into a type that can't represent it, because it's too small.
These test cases were graciously provided by Frederic Michaud of Defense Research & Development Canada - Valcartier. Please see test case ID 000-001-518 for an executable suite of all the DRDC test cases. |
| File(s) |
|
| Flaw |
|
There are no comments
Have any comments on this test case? Please,
.
- integer_precision_lost_because_of_bad_cast.cpp
- integer_precision_lost_because_of_bad_cast.h
- test.cpp
- test.h

