acs-engine/pkg/api/convertertoosaapi_test.go

20 строки
544 B
Go
Исходник Постоянная ссылка Обычный вид История

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
2018-07-28 02:09:49 +03:00
package api
import (
"reflect"
"testing"
)
// testContainerService and testOpenShiftCluster are defined in
// converterfromosaapi_test.go.
func TestConvertContainerServiceToVLabsOpenShiftCluster(t *testing.T) {
oc := ConvertContainerServiceToVLabsOpenShiftCluster(testContainerService)
if !reflect.DeepEqual(oc, testOpenShiftCluster) {
t.Errorf("ConvertContainerServiceToVLabsOpenShiftCluster returned unexpected result\n%#v\n", oc)
}
}