We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e24a740 commit 1780c4eCopy full SHA for 1780c4e
1 file changed
tests/SysInfo_test.ring
@@ -25,6 +25,7 @@ class SysInfoTest {
25
func runAllTests() {
26
? "Starting SysInfo Test Suite..."
27
28
+ testModel()
29
testHostname()
30
testUsername()
31
testOS()
@@ -45,6 +46,13 @@ class SysInfoTest {
45
46
? "All tests completed successfully!"
47
}
48
49
+ func testModel() {
50
+ ? "Testing model()..."
51
+ model = sysInfo.model()
52
+ assert(!isNull(model), "Model should not be null")
53
+ assert(len(model) > 0, "Model should not be empty")
54
+ }
55
+
56
func testHostname() {
57
? "Testing hostname()..."
58
hostname = sysInfo.hostname()
0 commit comments