Merge origin/master
This commit is contained in:
commit
2f47f5aa52
30
src/Test.java
Normal file
30
src/Test.java
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
import métiers.Commande;
|
||||
import métiers.Entreprise;
|
||||
import métiers.Instrument;
|
||||
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @author sio
|
||||
*/
|
||||
public class Test {
|
||||
|
||||
/**
|
||||
* @param args the command line arguments
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
Entreprise lEntreprise=new Entreprise("MusicAndCo");
|
||||
Instrument instr1=new Instrument(1,"Piano",10, 8300f);
|
||||
Instrument instr2=new Instrument(2,"Violon",9, 105f);
|
||||
Instrument instr1=new Instrument(3,"Guitare",8, 575f);
|
||||
Commande laCommande = new Commande(1,"Thevenot","12/09/2024");
|
||||
lEntreprise.ajouterCommande(laCommande);
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user