فهرست منبع

Add 1 more each for < and >

Jeroen van Rijn 1 سال پیش
والد
کامیت
41b8f06f51
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      tests/internal/test_string_compare.odin

+ 2 - 0
tests/internal/test_string_compare.odin

@@ -15,7 +15,9 @@ Test :: struct {
 CASES := []Test{
 CASES := []Test{
 	{"hellope",  "hellope", {.Eq=true,  .Lt=false, .Gt=false}},
 	{"hellope",  "hellope", {.Eq=true,  .Lt=false, .Gt=false}},
 	{"Hellope",  "hellope", {.Eq=false, .Lt=true,  .Gt=false}}, // H < h
 	{"Hellope",  "hellope", {.Eq=false, .Lt=true,  .Gt=false}}, // H < h
+	{"Hell",     "Hellope", {.Eq=false, .Lt=true,  .Gt=false}},
 	{"Hellope!", "Hellope", {.Eq=false, .Lt=false, .Gt=true }},
 	{"Hellope!", "Hellope", {.Eq=false, .Lt=false, .Gt=true }},
+	{"Hellopf",  "Hellope", {.Eq=false, .Lt=false, .Gt=true }},
 }
 }
 
 
 @test
 @test