package test

import (
	"sync"
	"testing"
)

func TestMutex(t *testing.T) {
	m1 := sync.Mutex{}
	m1.Lock()
	defer m1.Unlock()

	m2 := sync.RWMutex{}
	m2.RLock()
	defer m2.RUnlock()
	m2.Lock()
	defer m2.Unlock()

}