Makefile, server entry point prototype, compareFiles function + other minor changes

This commit is contained in:
Gu://em_ 2025-04-13 12:50:35 +02:00
parent 2efb8c4130
commit c1ccb61346
10 changed files with 139 additions and 56 deletions

22
tests/cosync_test.go Normal file
View file

@ -0,0 +1,22 @@
package tests
import (
"testing"
"cosync/internal/client"
"cosync/internal/server"
)
func TestAll(t *testing.T) {
TestClientServerCommunication(t)
}
func TestClientServerCommunication(t *testing.T) {
go client.Run()
go server.Run()
}
func TestConfigLoading(t *testing.T) {
}
func TestConfigCreation(t *testing.T) {
}

View file

@ -1,26 +0,0 @@
package tests
import (
// "testing"
"cosync/internal/client"
"cosync/internal/server"
)
func TestAll() bool {
TestClientServerCommunication()
return false
}
func TestClientServerCommunication() bool {
go client.Run()
go server.Run()
return false
}
func TestConfigLoading() bool {
return false
}
func TestConfigCreation() bool {
return false
}