Skip to content
Snippets Groups Projects
Commit 9e89f30b authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

changed pacakge to edu.unl.cse.csce361

parent 760c88eb
No related branches found
No related tags found
No related merge requests found
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.unl.cse.soft160.sort_three_pairs</groupId>
<groupId>edu.unl.cse.csce361.sort_three_pairs</groupId>
<artifactId>sort_three_pairs</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
......
package edu.unl.cse.soft160.sort_three_pairs;
package edu.unl.cse.csce361.sort_three_pairs;
public class SortThreePairs {
public static double readArgument(int position, String... arguments) {
......@@ -30,7 +30,7 @@ public class SortThreePairs {
if (arguments.length != 6) {
System.err.println("Sorts three points by their x coordinates, breaking ties using y coordinates.");
System.err.println(
"Usage: java edu.unl.cse.soft160.sort_three_pairs.SortThreePairs [X0] [Y0] [X1] [Y1] [X2] [Y2]");
"Usage: java edu.unl.cse.csce361.sort_three_pairs.SortThreePairs [X0] [Y0] [X1] [Y1] [X2] [Y2]");
System.exit(1);
}
double x0 = readArgument(0, arguments);
......
package edu.unl.cse.soft160.sort_three_pairs;
package edu.unl.cse.csce361.sort_three_pairs;
import junit.framework.Test;
import junit.framework.TestCase;
......@@ -156,7 +156,7 @@ public class SortThreePairsTest extends TestCase {
public void testTooFewArguments() {
assertEquals(
assemble("Sorts three points by their x coordinates, breaking ties using y coordinates.",
"Usage: java edu.unl.cse.soft160.sort_three_pairs.SortThreePairs [X0] [Y0] [X1] [Y1] [X2] [Y2]"),
"Usage: java edu.unl.cse.csce361.sort_three_pairs.SortThreePairs [X0] [Y0] [X1] [Y1] [X2] [Y2]"),
runMainForError(1, "0", "0", "1", "1", "2", "2", "3"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment