The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
import 'package:flutter_test/flutter_test.dart';
import 'package:harness/super_tabs/unread_line.dart';
void main() {
test('Mark unread after reading through offers the bar again', () {
final lines = SuperTabUnreadLines()
..placeAt('lead', 'message-5')
..saw('lead')
..readThrough('lead')
..away = true;
expect(lines.offersBar('lead'), isFalse);
lines.placeAt('lead', 'message-9');
expect(lines.offersBar('lead'), isTrue);
});
test('leaving a chat read through forgets it: the next visit offers the '
'bar', () {
final lines = SuperTabUnreadLines()
..placeAt('lead', 'message-5')
..saw('lead')
..readThrough('lead')
..forget('lead')
..placeAt('lead', 'message-5')
..away = true;
expect(lines.offersBar('lead'), isTrue);
});
}