From 50ad7e8b46628020e66c520d69f59d5693cd6f3a Mon Sep 17 00:00:00 2001 From: Michael Jiang Date: Mon, 22 Mar 2021 13:19:06 -0600 Subject: [PATCH 1/2] changes to testCountCities --- .idea/.gitignore | 3 +++ .idea/.name | 1 + .idea/compiler.xml | 6 +++++ .idea/jarRepositories.xml | 25 +++++++++++++++++++ .idea/misc.xml | 9 +++++++ .../simpleparadox/listycity/CityListTest.java | 2 +- 6 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/compiler.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..26d33521 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 00000000..cb67bab4 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +ListyCity \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 00000000..61a9130c --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 00000000..a5f05cd8 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..d5d35ec4 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java b/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java index 787eab7e..defa0401 100644 --- a/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java +++ b/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java @@ -91,6 +91,6 @@ void testDeleteException() { void testCountCities() { CityList cityList = mockCityList(); - assertEquals(1, cityList.countCities()); + assertEquals(0, cityList.countCities()); } } \ No newline at end of file From c850a852bcb40101fa50ada6437843570e547711 Mon Sep 17 00:00:00 2001 From: Michael Jiang Date: Mon, 22 Mar 2021 13:28:13 -0600 Subject: [PATCH 2/2] revert back to original --- .../java/com/example/simpleparadox/listycity/CityListTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java b/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java index defa0401..787eab7e 100644 --- a/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java +++ b/app/src/test/java/com/example/simpleparadox/listycity/CityListTest.java @@ -91,6 +91,6 @@ void testDeleteException() { void testCountCities() { CityList cityList = mockCityList(); - assertEquals(0, cityList.countCities()); + assertEquals(1, cityList.countCities()); } } \ No newline at end of file