Skip to content

Commit

Permalink
Traduction de quelque termes en anglais et quelques erreurs de frappes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Sep 27, 2015
1 parent 7e07978 commit 3578181
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/sources/SourceFixe.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
public class SourceFixe extends Source<Boolean> {

/**
* Un constructeur qui génère les bites basé sur messageSimulateur
* @param messageSimulateur le message qui fixe les bites */
* Un constructeur qui génère les bits basé sur messageSimulateur
* @param messageSimulateur le message qui fixe les bits */
public SourceFixe(String messageSimulateur) {
super();
this.informationGeneree = new Information<Boolean>();
Expand Down
4 changes: 2 additions & 2 deletions test/destinations/DestinationFinaleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public void tearDown() {
@Test
public void testRecevoir() {
System.out.println("Test recevoir");
Boolean bites[] = {true, false, true};
Information<Boolean> information = new Information<>(bites);
Boolean bits[] = {true, false, true};
Information<Boolean> information = new Information<>(bits);
DestinationFinale instance = new DestinationFinale();
try {
instance.recevoir(information);
Expand Down
4 changes: 2 additions & 2 deletions test/sources/SourceAleatoireTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public void tearDown() {
}

@Test
public void testConstructor() {
System.out.println("Test Constuctor SourceAleatoire");
public void testConstructeur() {
System.out.println("Test Constucteur SourceAleatoire");
int mess_length = 1024;
SourceAleatoire instance = new SourceAleatoire(mess_length);

Expand Down
12 changes: 6 additions & 6 deletions test/sources/SourceFixeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ public void tearDown() {
}

@Test
public void testConstructor() {
System.out.println("Test Constuctor SourceFixe");
public void testConstructeur() {
System.out.println("Test Constucteur SourceFixe");
String mess = "01011";
SourceFixe instance = new SourceFixe(mess);

assertEquals(instance.informationGeneree.nbElements(), mess.length());
Boolean bites[] = {false, true, false, true, true};
Information<Boolean> information = new Information<>(bites);
Boolean bits[] = {false, true, false, true, true};
Information<Boolean> information = new Information<>(bits);
assertEquals(instance.informationGeneree, information);

String mess2 = "1101011";
SourceFixe instance2 = new SourceFixe(mess2);

assertEquals(instance2.informationGeneree.nbElements(), mess2.length());
Boolean bites2[] = {true, true, false, true, false, true, true};
Information<Boolean> information2 = new Information<>(bites2);
Boolean bits2[] = {true, true, false, true, false, true, true};
Information<Boolean> information2 = new Information<>(bits2);
assertEquals(instance2.informationGeneree, information2);
}

Expand Down
4 changes: 2 additions & 2 deletions test/transmetteurs/TransmetteurParfaitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public void tearDown() {
@Test
public void testRecevoir() throws Exception {
System.out.println("Test recevoir");
Boolean bites[] = {true, false, true};
Information<Boolean> information = new Information<>(bites);
Boolean bits[] = {true, false, true};
Information<Boolean> information = new Information<>(bits);
TransmetteurParfait instance = new TransmetteurParfait();
instance.recevoir(information);

Expand Down

0 comments on commit 3578181

Please sign in to comment.