-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
43 lines (40 loc) · 1.17 KB
/
Main.java
File metadata and controls
43 lines (40 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import java.util.*;
import java.io.File;
/**
* Write a description of class Main here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Main
{
// instance variables - replace the example below with your own
private int x;
/**
* Constructor for objects of class Main
*/
public Main()
{
// initialise instance variables
x = 0;
}
public static void testSaving() {
UserInteraction bruh = new UserInteraction();
bruh.addUser(new User("Aaron","password"),20);
bruh.addUser(new User("Bruh moment","1234456"),12);
bruh.addUser(new User("Caelyn","blankShoy"),18);
bruh.addUser(new User("Anna","20243"),2023);
bruh.addUser(new User("Aaro","TheWorserAaron"),2024);
bruh.addUser(new User("Bruh momen","oioioi"),1223);
bruh.addUser(new User("Caely","ugh"),1238);
bruh.addUser(new User("Ann","23323"),212);
bruh.saveNewUsers();
}
public static void testGetting() {
UserInteraction bruh = new UserInteraction();
bruh.printAllMap();
}
public static void main(String[] args) {
OtherGUI.run();
}
}