feat(AveragePosition): method to emit average_base_coordinates message

This commit is contained in:
2025-06-11 12:00:30 +02:00
parent 81741d20c1
commit abebc7d8c6
6 changed files with 85 additions and 2 deletions

View File

@ -240,6 +240,30 @@ var testCases = []operationTestCase{
},
},
{
Name: "AveragePosition",
Run: func(t *testing.T, ops protocol.Operations) {
ctx := context.Background()
if err := ops.Connect(ctx); err != nil {
t.Errorf("%+v", errors.WithStack(err))
return
}
defer func() {
if err := ops.Close(ctx); err != nil {
t.Errorf("%+v", errors.WithStack(err))
}
}()
taskmessage, err := ops.AveragePosition(ctx)
if err != nil {
t.Errorf("%+v", errors.WithStack(err))
return
}
t.Logf("Task Message : %s", taskmessage)
},
},
}
func TestOperations(t *testing.T, opsFactory OperationsFactoryFunc) {