Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs2-19wi
lab03
Commits
b0654260
Commit
b0654260
authored
6 years ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Updates lab03
parent
5a5f67ec
master
No related merge requests found
Pipeline
#4735
canceled with stage
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
.gitignore
+66
-0
.gitignore
.gitlab-ci.yml
+8
-0
.gitlab-ci.yml
.idea/modules.xml
+2
-2
.idea/modules.xml
.idea/vcs.xml
+1
-2
.idea/vcs.xml
.idea/workspace.xml
+46
-46
.idea/workspace.xml
lab03-steganography.iml
+0
-0
lab03-steganography.iml
src/edu/caltech/cs2/lab03/Image.java
+2
-2
src/edu/caltech/cs2/lab03/Image.java
src/edu/caltech/cs2/lab03/ImageManipulator.java
+2
-2
src/edu/caltech/cs2/lab03/ImageManipulator.java
tests/edu/caltech/cs2/lab03/ImageManipulatorTests.java
+2
-2
tests/edu/caltech/cs2/lab03/ImageManipulatorTests.java
with
129 additions
and
56 deletions
+129
-56
.gitignore
0 → 100644
View file @
b0654260
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
View file @
b0654260
static
:
script
:
"
/testers/cs2/lab03/static"
C
:
script
:
"
/testers/cs2/lab03/C/test"
B
:
script
:
"
/testers/cs2/lab03/B/test"
A
:
script
:
"
/testers/cs2/lab03/A/test"
This diff is collapsed.
Click to expand it.
.idea/modules.xml
View file @
b0654260
...
...
@@ -2,7 +2,7 @@
<project
version=
"4"
>
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/lab0
2
-steganography.iml"
filepath=
"$PROJECT_DIR$/lab0
2
-steganography.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/lab0
3
-steganography.iml"
filepath=
"$PROJECT_DIR$/lab0
3
-steganography.iml"
/>
</modules>
</component>
</project>
\ No newline at end of file
</project>
This diff is collapsed.
Click to expand it.
.idea/vcs.xml
View file @
b0654260
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
""
vcs=
"Git"
/>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
</project>
This diff is collapsed.
Click to expand it.
.idea/workspace.xml
View file @
b0654260
...
...
@@ -3,7 +3,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"35fce098-9be2-4747-bc65-5a45ced07bad"
name=
"Default Changelist"
comment=
"fixed naming on file to transposed"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/out/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -22,7 +22,7 @@
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"600"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/ImageManipulator.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/ImageManipulator.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<caret
line=
"13"
column=
"7"
selection-start-line=
"13"
selection-start-column=
"7"
selection-end-line=
"13"
selection-end-column=
"7"
/>
...
...
@@ -34,7 +34,7 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/Image.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/Image.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<caret
line=
"12"
column=
"37"
selection-start-line=
"12"
selection-start-column=
"37"
selection-end-line=
"12"
selection-end-column=
"37"
/>
...
...
@@ -46,7 +46,7 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java"
>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"480"
>
<caret
line=
"68"
column=
"14"
selection-start-line=
"68"
selection-start-column=
"14"
selection-end-line=
"68"
selection-end-column=
"14"
/>
...
...
@@ -99,13 +99,13 @@
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/tests/edu/caltech/cs2/helpers/Reflection.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/Steganography.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/Steganography.java"
/>
<option
value=
"$PROJECT_DIR$/tests/ImageManipulatorTests.java"
/>
<option
value=
"$PROJECT_DIR$/tests/edu/caltech/cs2/helpers/Images.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/Image.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/ImageManipulator.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/Image.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/ImageManipulator.java"
/>
<option
value=
"$PROJECT_DIR$/src/edu/caltech/cs2/libraries/Pixel.java"
/>
<option
value=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java"
/>
<option
value=
"$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java"
/>
</list>
</option>
</component>
...
...
@@ -131,60 +131,60 @@
<subPane>
<expand>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"cs2"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"cs2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
2
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tests"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tests"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"data"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tests"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"cs2"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tests"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"cs2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"helpers"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
2
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tests"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"cs2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
2
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lab0
3
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"lab0
2
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"lab0
3
-alpha"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"External Libraries"
type=
"cb654da1:ExternalLibrariesNode"
/>
</path>
</expand>
...
...
@@ -204,7 +204,7 @@
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp"
value=
"1545942890684"
/>
<property
name=
"last_directory_selection"
value=
"$PROJECT_DIR$/tests/edu/caltech/cs2"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../lab0
2
"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../lab0
3
"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"project.structure.last.edited"
value=
"Libraries"
/>
...
...
@@ -240,14 +240,14 @@
</component>
<component
name=
"RunManager"
selected=
"JUnit.ImageManipulatorTests"
>
<configuration
name=
"ImageManipulator"
type=
"Application"
factoryName=
"Application"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"edu.caltech.cs2.lab0
2
.ImageManipulator"
/>
<module
name=
"lab0
2
-steganography"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"edu.caltech.cs2.lab0
3
.ImageManipulator"
/>
<module
name=
"lab0
3
-steganography"
/>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"A"
type=
"JUnit"
factoryName=
"JUnit"
>
<module
name=
"lab0
2
-steganography"
/>
<module
name=
"lab0
3
-steganography"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"A"
/>
<option
name=
"METHOD_NAME"
value=
""
/>
<option
name=
"TEST_OBJECT"
value=
"tags"
/>
...
...
@@ -258,7 +258,7 @@
</method>
</configuration>
<configuration
name=
"B"
type=
"JUnit"
factoryName=
"JUnit"
>
<module
name=
"lab0
2
-steganography"
/>
<module
name=
"lab0
3
-steganography"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"B"
/>
<option
name=
"METHOD_NAME"
value=
""
/>
<option
name=
"TEST_OBJECT"
value=
"tags"
/>
...
...
@@ -269,7 +269,7 @@
</method>
</configuration>
<configuration
name=
"C"
type=
"JUnit"
factoryName=
"JUnit"
>
<module
name=
"lab0
2
-steganography"
/>
<module
name=
"lab0
3
-steganography"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
""
/>
<option
name=
"METHOD_NAME"
value=
""
/>
<option
name=
"TEST_OBJECT"
value=
"tags"
/>
...
...
@@ -280,15 +280,15 @@
</method>
</configuration>
<configuration
name=
"ImageManipulatorTests"
type=
"JUnit"
factoryName=
"JUnit"
temporary=
"true"
nameIsGenerated=
"true"
>
<module
name=
"lab0
2
-steganography"
/>
<module
name=
"lab0
3
-steganography"
/>
<extension
name=
"coverage"
>
<pattern>
<option
name=
"PATTERN"
value=
"edu.caltech.cs2.lab0
2
.*"
/>
<option
name=
"PATTERN"
value=
"edu.caltech.cs2.lab0
3
.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</extension>
<option
name=
"PACKAGE_NAME"
value=
"edu.caltech.cs2.lab0
2
"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"edu.caltech.cs2.lab0
2
.ImageManipulatorTests"
/>
<option
name=
"PACKAGE_NAME"
value=
"edu.caltech.cs2.lab0
3
"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"edu.caltech.cs2.lab0
3
.ImageManipulatorTests"
/>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
...
...
@@ -452,7 +452,7 @@
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"jar:///Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/lib/src.zip!/java.desktop/javax/imageio/ImageIO.java"
/>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/NBodySimulationTests.java"
/>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/NBodySimulationTests.java"
/>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/helpers/Reflection.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
...
...
@@ -473,7 +473,7 @@
<entry
file=
"file://$PROJECT_DIR$/tests/data/puppy.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lab0
2
-steganography.iml"
>
<entry
file=
"file://$PROJECT_DIR$/lab0
3
-steganography.iml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/helpers/ImageFileSource.java"
>
...
...
@@ -534,7 +534,7 @@
<entry
file=
"file://$PROJECT_DIR$/tests/data/guernica.transposed.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/ImageManipulator.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/ImageManipulator.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<caret
line=
"13"
column=
"7"
selection-start-line=
"13"
selection-start-column=
"7"
selection-end-line=
"13"
selection-end-column=
"7"
/>
...
...
@@ -544,7 +544,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
2
/Image.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/edu/caltech/cs2/lab0
3
/Image.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<caret
line=
"12"
column=
"37"
selection-start-line=
"12"
selection-start-column=
"37"
selection-end-line=
"12"
selection-end-column=
"37"
/>
...
...
@@ -557,7 +557,7 @@
<entry
file=
"file://$PROJECT_DIR$/tests/data/SpaceElephants.hidden.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java"
>
<entry
file=
"file://$PROJECT_DIR$/tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"480"
>
<caret
line=
"68"
column=
"14"
selection-start-line=
"68"
selection-start-column=
"14"
selection-end-line=
"68"
selection-end-column=
"14"
/>
...
...
@@ -619,7 +619,7 @@
</state>
<state
key=
"ModuleStructureConfigurable.UI"
>
<settings>
<last-edited>
lab0
2
-steganography
</last-edited>
<last-edited>
lab0
3
-steganography
</last-edited>
<splitter-proportions>
<option
name=
"proportions"
>
<list>
...
...
@@ -656,4 +656,4 @@
</state>
</states>
</component>
</project>
\ No newline at end of file
</project>
This diff is collapsed.
Click to expand it.
lab0
2
-steganography.iml
→
lab0
3
-steganography.iml
View file @
b0654260
File moved
This diff is collapsed.
Click to expand it.
src/edu/caltech/cs2/lab0
2
/Image.java
→
src/edu/caltech/cs2/lab0
3
/Image.java
View file @
b0654260
package
edu.caltech.cs2.lab0
2
;
package
edu.caltech.cs2.lab0
3
;
import
edu.caltech.cs2.libraries.Pixel
;
...
...
@@ -54,4 +54,4 @@ public class Image {
e
.
printStackTrace
();
}
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
src/edu/caltech/cs2/lab0
2
/ImageManipulator.java
→
src/edu/caltech/cs2/lab0
3
/ImageManipulator.java
View file @
b0654260
package
edu.caltech.cs2.lab0
2
;
package
edu.caltech.cs2.lab0
3
;
import
java.io.File
;
import
java.io.IOException
;
...
...
@@ -51,4 +51,4 @@ public class ImageManipulator {
}
}
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
tests/edu/caltech/cs2/lab0
2
/ImageManipulatorTests.java
→
tests/edu/caltech/cs2/lab0
3
/ImageManipulatorTests.java
View file @
b0654260
package
edu.caltech.cs2.lab0
2
;
package
edu.caltech.cs2.lab0
3
;
import
edu.caltech.cs2.helpers.ImageFileSource
;
import
edu.caltech.cs2.helpers.Images
;
...
...
@@ -125,4 +125,4 @@ public class ImageManipulatorTests {
Image
newImage
=
startingImage
.
hideText
(
msg
);
Images
.
assertImagesEqual
(
expectedOutput
,
newImage
.
toBufferedImage
(),
0
);
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help