Vous êtes sur la page 1sur 5

PROJECT 1 1

Graphics2D - Project 1
Dylan Veraart
CMSC 405 7980 Computer Graphics (2192)
Professor: Lauren King
3/31/2019
PROJECT 1 2

Compile Settings
Compiled with jdk1.8.0_111 in NetBeans IDE 8.2 and exported with NetBeans

Test Plan
Returned
Case Input Expected Result Expected
Result?

1 Compile and run GUI window with navigation ✓


program bar at the top (contains label
of “Original” and next button)
and three images spaced
evenly and centered in a
white field area

2 Pressing the next Label changes to “Translate ✓


button (-5,7)” and images move on
a southwesterly direction

3 Pressing the next Label changes to “Rotate ✓


button -45°” and images rotate 45°
counterclockwise about their
center.

4 Pressing the next Label changes to “Rotate ✓


button 90°” and images rotate 90°
clockwise about their center
(45° relative to the original
position).

5 Pressing the next Label changes to “Scale ✓


button (x2,x0.5)” and images stretch
outward at the sides and
compress from the top and
bottom.

6 Pressing the next Label changes to “Original” ✓


button and images return to their
original position.

7 Pressing the next Each button press results in ✓


button 4 more times frames identical to cases 2-5
PROJECT 1 3

Test Case Pictures

Figure 1. Test case #1 and #6

Figure 2. Test case #2 and #7


PROJECT 1 4

Figure 3. Test case #3 and #7

Figure 4. Test case #4 and #7


PROJECT 1 5

Figure 5. Test case #5 and #7

Vous aimerez peut-être aussi