Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
c20b5c1
StudentBook
flash11 Jan 28, 2024
e7082b4
update
flash11 Jan 28, 2024
722178d
update
flash11 Jan 28, 2024
fffd1c6
update
flash11 Jan 28, 2024
910475c
calculator
flash11 Jan 28, 2024
e62e46f
update
flash11 Jan 28, 2024
84166c8
factory
flash11 Feb 8, 2024
f60358c
factory
flash11 Feb 8, 2024
2607172
Delete Task1_4_1/.idea directory
flash11 Feb 8, 2024
3ca48c5
Delete Task_1_1_1 directory
flash11 Feb 8, 2024
9a01746
Delete Task_1_4_1 directory
flash11 Feb 8, 2024
0114824
Delete Task_1_5_1/.gradle directory
flash11 Feb 8, 2024
f1d1659
Delete Task_1_5_1/.idea directory
flash11 Feb 8, 2024
8d68390
Delete Task_1_5_1/build directory
flash11 Feb 8, 2024
a76553f
Delete Task_1_5_1/out/production/main directory
flash11 Feb 8, 2024
7d18f4a
Update CalculatorTest.java
flash11 Feb 8, 2024
d1ee846
Update CalculatorTest.java
flash11 Feb 8, 2024
ff621ba
Update CalculatorTest.java
flash11 Feb 8, 2024
79b5fd4
Update CalculatorTest.java
flash11 Feb 8, 2024
1337e81
Update CalculatorTest.java
flash11 Feb 8, 2024
d09ac40
Update CalculatorTest.java
flash11 Feb 8, 2024
d292926
Update CalculatorTest.java
flash11 Feb 8, 2024
e624a16
Update CalculatorTest.java
flash11 Feb 8, 2024
ccbe998
Update CalculatorTest.java
flash11 Feb 8, 2024
fad4ca9
Update CalculatorTest.java
flash11 Feb 8, 2024
8beef80
Update CalculatorTest.java
flash11 Feb 8, 2024
a8030b5
Update CalculatorTest.java
flash11 Feb 8, 2024
68994d3
Update CalculatorTest.java
flash11 Feb 8, 2024
e7bea68
Update CalculatorTest.java
flash11 Feb 8, 2024
cf3ce8f
Update IllegalArgumentFoundException.java
flash11 Feb 8, 2024
cd61780
Update IllegalOperatorException.java
flash11 Feb 8, 2024
e89043c
Update SquareRootLessThanZeroException.java
flash11 Feb 8, 2024
2a682f1
Update Parser.java
flash11 Feb 8, 2024
f4ff690
Update OperationFactory.java
flash11 Feb 8, 2024
161d1cb
Update OperationFactory.java
flash11 Feb 8, 2024
7ddd711
Update Parser.java
flash11 Feb 8, 2024
a457beb
Update OperationFactory.java
flash11 Feb 8, 2024
472bfb4
Update OperationFactory.java
flash11 Feb 8, 2024
b3fd5d8
Update OperationFactory.java
flash11 Feb 8, 2024
e7843b0
Update OperationFactory.java
flash11 Feb 9, 2024
bc15385
Update Calculator.java
flash11 Feb 9, 2024
0198447
Update Calculator.java
flash11 Feb 9, 2024
e063f41
Update Main.java
flash11 Feb 9, 2024
866dc6b
Update Operation.java
flash11 Feb 9, 2024
7a99870
Update Minus.java
flash11 Feb 9, 2024
7a111a2
Update Plus.java
flash11 Feb 9, 2024
e586de6
Update Arctg.java
flash11 Feb 9, 2024
776f7da
Update Cos.java
flash11 Feb 9, 2024
38a39ea
Update Division.java
flash11 Feb 9, 2024
3c99708
Update Log.java
flash11 Feb 9, 2024
ae76615
Update Minus.java
flash11 Feb 9, 2024
5b45bd1
Update Multiplication.java
flash11 Feb 9, 2024
93b4cf1
Update Negative.java
flash11 Feb 9, 2024
75fdfe3
Update Num.java
flash11 Feb 9, 2024
29e5f32
Update Pow.java
flash11 Feb 9, 2024
31875bb
Update Sin.java
flash11 Feb 9, 2024
c69e6a5
Update Sqrt.java
flash11 Feb 9, 2024
c454b3e
Update Calculator.java
flash11 Feb 9, 2024
c24a3e8
Update OperationFactory.java
flash11 Feb 9, 2024
d8ea50f
Update Parser.java
flash11 Feb 9, 2024
70a928f
Update Calculator.java
flash11 Feb 9, 2024
0dbfd83
Update Arctg.java
flash11 Feb 9, 2024
cae3a9b
Update Cos.java
flash11 Feb 9, 2024
223e652
Update Division.java
flash11 Feb 9, 2024
adb3f3a
Update Log.java
flash11 Feb 9, 2024
f3278a7
Update Minus.java
flash11 Feb 9, 2024
0ac7d1c
Update Multiplication.java
flash11 Feb 9, 2024
8cfe4bc
Update Negative.java
flash11 Feb 9, 2024
0e51e9d
Update Num.java
flash11 Feb 9, 2024
29188dc
Update Operation.java
flash11 Feb 9, 2024
deb1f0a
Update Plus.java
flash11 Feb 9, 2024
98ad53a
Update Pow.java
flash11 Feb 9, 2024
a484894
Update Sin.java
flash11 Feb 9, 2024
af4b28b
Update Sqrt.java
flash11 Feb 9, 2024
b9a9085
Update Minus.java
flash11 Feb 9, 2024
fc6fee1
Update Arctg.java
flash11 Feb 9, 2024
6f28d83
Update Cos.java
flash11 Feb 9, 2024
93e664a
Update Division.java
flash11 Feb 9, 2024
bca3730
Update Log.java
flash11 Feb 9, 2024
b0f03be
Update Multiplication.java
flash11 Feb 9, 2024
adac52b
Update Negative.java
flash11 Feb 9, 2024
e10ab42
Update Num.java
flash11 Feb 9, 2024
6a2c220
Update Operation.java
flash11 Feb 9, 2024
5470332
Update Plus.java
flash11 Feb 9, 2024
eda45fd
Update Pow.java
flash11 Feb 9, 2024
3416436
Update Sin.java
flash11 Feb 9, 2024
9435fab
Update Sqrt.java
flash11 Feb 9, 2024
2484a52
Update CalculatorTest.java
flash11 Feb 9, 2024
b18b590
Update CalculatorTest.java
flash11 Feb 9, 2024
51a1d51
Update CalculatorTest.java
flash11 Feb 9, 2024
517dad1
Update CalculatorTest.java
flash11 Feb 9, 2024
db0ea5a
Update Sqrt.java
flash11 Feb 9, 2024
6f85994
Update Sqrt.java
flash11 Feb 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Task_1_5_1/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
plugins {
id 'java'
id 'jacoco'
}

group = 'org.example'
version = '1.0-SNAPSHOT'

repositories {
mavenCentral()
}


dependencies {
testImplementation platform('org.junit:junit-bom:5.8.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}

test {
useJUnitPlatform()
}

jacocoTestReport {
reports {
xml.required = true
}
}
Binary file added Task_1_5_1/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions Task_1_5_1/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions Task_1_5_1/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions Task_1_5_1/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Task_1_5_1/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rootProject.name = 'Task_1_5_1'

16 changes: 16 additions & 0 deletions Task_1_5_1/src/main/java/exceptions/ArithmeticException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package exceptions;

/**
* Exception parent-class for arithmetic.
*/
public class ArithmeticException extends Throwable {

/**
* main func.
*
* @param message for user.
*/
public ArithmeticException(String message) {
super(message);
}
}
16 changes: 16 additions & 0 deletions Task_1_5_1/src/main/java/exceptions/DivisionByZeroException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package exceptions;

/**
* exception when division by zero occurs.
*/
public class DivisionByZeroException extends ArithmeticException {

/**
* main func.
*
* @param message for user.
*/
public DivisionByZeroException(String message) {
super(message);
}
}
Loading