1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-29 23:38:14 +02:00

сделал FindPos()

This commit is contained in:
Sanek
2025-07-07 09:13:52 +03:00
parent f3b8f6f37e
commit 1772a7bf52
2 changed files with 28 additions and 0 deletions

View File

@@ -1835,3 +1835,11 @@ func TestPath_Linux_to_Windows(t *testing.T) {
Otvet := Path_Linux_to_Windows(s)
t.Log("Path_Linux_to_Windows(): ", Otvet)
}
func TestFindPos(t *testing.T) {
s := "0132"
pos1 := FindPos(s, "2", "3")
if pos1 != 2 {
t.Error("TestFindPos() error")
}
}