From e1d29c46404abc2082d62821e62773f2dd4fa8f0 Mon Sep 17 00:00:00 2001
From: Leo Rangheard <leo.rangheard@etu.univ-amu.fr>
Date: Mon, 14 Sep 2020 11:59:47 +0200
Subject: [PATCH] =?UTF-8?q?Remplis=20des=20deux=20premi=C3=A8res=20m=C3=A9?=
 =?UTF-8?q?thodes=20de=20Grade?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tp1/.idea/.gitignore  |  3 +++
 tp1/.idea/misc.xml    |  6 ++++++
 tp1/.idea/modules.xml |  8 ++++++++
 tp1/.idea/vcs.xml     |  6 ++++++
 tp1/Grade.java        |  2 ++
 tp1/tp1.iml           | 11 +++++++++++
 6 files changed, 36 insertions(+)
 create mode 100644 tp1/.idea/.gitignore
 create mode 100644 tp1/.idea/misc.xml
 create mode 100644 tp1/.idea/modules.xml
 create mode 100644 tp1/.idea/vcs.xml
 create mode 100644 tp1/tp1.iml

diff --git a/tp1/.idea/.gitignore b/tp1/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/tp1/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/tp1/.idea/misc.xml b/tp1/.idea/misc.xml
new file mode 100644
index 0000000..3a37236
--- /dev/null
+++ b/tp1/.idea/misc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_14" project-jdk-name="14" project-jdk-type="JavaSDK">
+    <output url="file://$PROJECT_DIR$/out" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp1/.idea/modules.xml b/tp1/.idea/modules.xml
new file mode 100644
index 0000000..8b76867
--- /dev/null
+++ b/tp1/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/tp1.iml" filepath="$PROJECT_DIR$/tp1.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp1/.idea/vcs.xml b/tp1/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/tp1/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp1/Grade.java b/tp1/Grade.java
index f25893a..97516bc 100644
--- a/tp1/Grade.java
+++ b/tp1/Grade.java
@@ -28,6 +28,7 @@ public class Grade {
    */
 
   public double getValue() {
+    return value;
   }
 
   /**
@@ -36,6 +37,7 @@ public class Grade {
    */
   @Override
   public String toString() {
+    return this.value + "/" + MAXIMUM_GRADE;
   }
 
   /**
diff --git a/tp1/tp1.iml b/tp1/tp1.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/tp1/tp1.iml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
-- 
GitLab