Skip to content

Commit 2eb6cdc

Browse files
First commit.
0 parents  commit 2eb6cdc

File tree

5 files changed

+158
-0
lines changed

5 files changed

+158
-0
lines changed

.gitignore

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
.metadata
2+
bin/
3+
tmp/
4+
*.tmp
5+
*.bak
6+
*.swp
7+
*~.nib
8+
local.properties
9+
.settings/
10+
.loadpath
11+
.recommenders
12+
13+
# External tool builders
14+
.externalToolBuilders/
15+
16+
# Locally stored "Eclipse launch configurations"
17+
*.launch
18+
19+
# PyDev specific (Python IDE for Eclipse)
20+
*.pydevproject
21+
22+
# CDT-specific (C/C++ Development Tooling)
23+
.cproject
24+
25+
# Java annotation processor (APT)
26+
.factorypath
27+
28+
# PDT-specific (PHP Development Tools)
29+
.buildpath
30+
31+
# sbteclipse plugin
32+
.target
33+
34+
# Tern plugin
35+
.tern-project
36+
37+
# TeXlipse plugin
38+
.texlipse
39+
40+
# STS (Spring Tool Suite)
41+
.springBeans
42+
43+
# Code Recommenders
44+
.recommenders/
45+
46+
# Scala IDE specific (Scala & Java development for Eclipse)
47+
.cache-main
48+
.scala_dependencies
49+
.worksheet
50+
51+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
52+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
53+
54+
# User-specific stuff:
55+
.idea/**
56+
.idea/**/tasks.xml
57+
.idea/dictionaries
58+
59+
# Sensitive or high-churn files:
60+
.idea/**/dataSources/
61+
.idea/**/dataSources.ids
62+
.idea/**/dataSources.xml
63+
.idea/**/dataSources.local.xml
64+
.idea/**/sqlDataSources.xml
65+
.idea/**/dynamic.xml
66+
.idea/**/uiDesigner.xml
67+
68+
# Gradle:
69+
.idea/**/gradle.xml
70+
.idea/**/libraries
71+
.idea/*
72+
*.iml
73+
74+
# CMake
75+
cmake-build-debug/
76+
77+
# Mongo Explorer plugin:
78+
.idea/**/mongoSettings.xml
79+
80+
## File-based project format:
81+
*.iws
82+
83+
## Plugin-specific files:
84+
85+
# IntelliJ
86+
/out/
87+
88+
# mpeltonen/sbt-idea plugin
89+
.idea_modules/
90+
91+
# JIRA plugin
92+
atlassian-ide-plugin.xml
93+
94+
# Cursive Clojure plugin
95+
.idea/replstate.xml
96+
97+
# Crashlytics plugin (for Android Studio and IntelliJ)
98+
com_crashlytics_export_strings.xml
99+
crashlytics.properties
100+
crashlytics-build.properties
101+
fabric.properties
102+
target/*
103+
104+
.project
105+
.classpath
106+
.settings

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Bank Account Pair Coding
2+
For this assignment, we're going to pair up and build some bank accounts.
3+
4+
Start with building out your UML for all of this and then go into writing your tests and code. The UML here should
5+
help you simplify your ideas.
6+
7+
You should have:
8+
* An abstract account that has all of the values that non-abstract accounts share. These should have:
9+
* an accountHolder
10+
* a balance
11+
* an accountNumber
12+
* A record of every transaction
13+
* some basic methods that all accounts should share like credit, debit, getters and setter (where appropriate)
14+
15+
* A checking account that has the following
16+
* An overdraft protection boolean that makes it so the user cannot withdraw more money than they have in their account
17+
* A savings account that:
18+
* Gains interest
19+
* Has overdraft protection
20+
* An investment account that:
21+
* Gains interest
22+
23+
Also, there should be two different AccountHolder types:
24+
* Person which has a firstName, a middleInitial, and a lastName
25+
* Business which just has a businessName

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>io.zipcoder</groupId>
8+
<artifactId>tcuk-paircoding1</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<dependencies>
12+
<dependency>
13+
<groupId>junit</groupId>
14+
<artifactId>junit</artifactId>
15+
<version>4.12</version>
16+
<scope>test</scope>
17+
</dependency>
18+
</dependencies>
19+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package io.zipcoder;
2+
3+
public abstract class Account {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package io.zipcoder;
2+
3+
public class AccountTest {
4+
}

0 commit comments

Comments
 (0)